Details

Time bar (total: 3.1s)

sample22.0ms

Algorithm
intervals
Results
12.0ms330×body80valid

simplify185.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1173
2313
3463
4533
5623
6803
71183
82353
94673
108323
1112123
1217863
1334073
1450023

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(* y (- z x))
0.0b
(+ x (* y (- z x)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
associate-*r*
pow1 add-exp-log distribute-rgt-in add-cube-cbrt sub-neg associate-+r+ distribute-lft-in add-cbrt-cube add-log-exp
associate-*l*
associate-*r/
+-commutative flip3-- flip3-+ pow-prod-down prod-exp sum-log *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out-- difference-of-squares unswap-sqr
Counts
2 → 41
Calls
2 calls:
10.0ms
(* y (- z x))
9.0ms
(+ x (* y (- z x)))

series74.0ms

Counts
2 → 6
Calls
2 calls:
36.0ms
(* y (- z x))
38.0ms
(+ x (* y (- z x)))

simplify90.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0172180
1731165
23521165
35003165

prune79.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (- z x)) (cbrt (- z x)))
0.6b
(cbrt (- z x))
0.6b
(cbrt (- z x))
0.6b
(cbrt (- z x))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
43×cbrt-prod
37×add-sqr-sqrt
35×*-un-lft-identity
18×cbrt-div
15×add-cube-cbrt
11×pow1
10×swap-sqr
flip3-- pow1/3 flip-- distribute-lft-out--
associate-*r* associate-*l*
difference-of-squares
add-exp-log
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 101
Calls
4 calls:
23.0ms
(* (cbrt (- z x)) (cbrt (- z x)))
2.0ms
(cbrt (- z x))
2.0ms
(cbrt (- z x))
2.0ms
(cbrt (- z x))

series566.0ms

Counts
4 → 12
Calls
4 calls:
124.0ms
(* (cbrt (- z x)) (cbrt (- z x)))
146.0ms
(cbrt (- z x))
146.0ms
(cbrt (- z x))
149.0ms
(cbrt (- z x))

simplify153.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 3 (145.0ms)

IterNodesCost
0261760
1914723
24493670
35001660

prune287.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (/ (* y (- (* z z) (* x x))) (+ z x)))
4.5b
(- (* z z) (* x x))
10.3b
(* y (- (* z z) (* x x)))
18.1b
(/ (* y (- (* z z) (* x x))) (+ z x))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
11×add-exp-log add-cbrt-cube
10×add-sqr-sqrt
add-cube-cbrt add-log-exp
pow1
times-frac associate-*r/ associate-*r* associate-/r*
sub-neg flip3-- associate-*l* flip-- distribute-lft-out
cbrt-undiv distribute-rgt-in distribute-lft-in flip3-+ div-exp prod-exp associate-/r/ cbrt-unprod flip-+ associate-/l/ difference-of-squares
+-commutative frac-2neg diff-log pow-prod-down clear-num sum-log *-commutative div-inv associate-/l* unswap-sqr
Counts
4 → 77
Calls
4 calls:
10.0ms
(+ x (/ (* y (- (* z z) (* x x))) (+ z x)))
3.0ms
(- (* z z) (* x x))
11.0ms
(* y (- (* z z) (* x x)))
11.0ms
(/ (* y (- (* z z) (* x x))) (+ z x))

series225.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(+ x (/ (* y (- (* z z) (* x x))) (+ z x)))
31.0ms
(- (* z z) (* x x))
68.0ms
(* y (- (* z z) (* x x)))
72.0ms
(/ (* y (- (* z z) (* x x))) (+ z x))

simplify51.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0367620
11808538
25001507

prune170.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ x (* (sqrt y) (* (sqrt y) (- z x))))
0.1b
(* (sqrt y) (- z x))
0.2b
(* (sqrt y) (* (sqrt y) (- z x)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
18×distribute-rgt-in distribute-lft-in
14×add-sqr-sqrt
12×associate-*l*
10×pow1 add-exp-log sub-neg *-un-lft-identity add-cbrt-cube
add-cube-cbrt associate-+r+
sqrt-prod
associate-*r/ associate-*r*
add-log-exp
pow-prod-down prod-exp cbrt-unprod
flip3-- *-commutative flip-- unswap-sqr
+-commutative flip3-+ sum-log flip-+ distribute-lft-out-- difference-of-squares
Counts
3 → 80
Calls
3 calls:
4.0ms
(+ x (* (sqrt y) (* (sqrt y) (- z x))))
15.0ms
(* (sqrt y) (- z x))
18.0ms
(* (sqrt y) (* (sqrt y) (- z x)))

series168.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(+ x (* (sqrt y) (* (sqrt y) (- z x))))
76.0ms
(* (sqrt y) (- z x))
45.0ms
(* (sqrt y) (* (sqrt y) (- z x)))

simplify47.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0337476
11436396
25002388

prune155.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

regimes79.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
083
183

end0.0ms

sample591.0ms

Algorithm
intervals
Results
376.0ms10028×body80valid