Details

Time bar (total: 2.8s)

sample17.0ms

Algorithm
intervals
Results
7.0ms322×body80valid

simplify204.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0144
1344
2844
32064
44064
55404
67064
79574
814584
923844
1036584
1140314
1244294
1350024

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 2.8b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (- 1.0 y) z)
2.7b
(* x (- 1.0 (* (- 1.0 y) z)))

rewrite18.0ms

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

series76.0ms

Counts
2 → 6
Calls
2 calls:
28.0ms
(* (- 1.0 y) z)
47.0ms
(* x (- 1.0 (* (- 1.0 y) z)))

simplify92.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0211251
1863221
23970215
35001215

prune84.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.0ms

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

series109.0ms

Counts
2 → 6
Calls
2 calls:
61.0ms
(+ (* x 1.0) (* (* x z) (- y 1.0)))
48.0ms
(* (* x z) (- y 1.0))

simplify42.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0257266
11177224
25002219

prune79.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

2.6b
(* (* x z) (- y 1.0))
6.9b
(cbrt (* (* x z) (- y 1.0)))
6.9b
(cbrt (* (* x z) (- y 1.0)))
6.9b
(cbrt (* (* x z) (- y 1.0)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
associate-*r/
add-sqr-sqrt *-un-lft-identity
cbrt-div
add-cube-cbrt associate-*r*
flip3-- flip-- add-log-exp
cbrt-prod pow1/3 pow-prod-down prod-exp cbrt-unprod
distribute-rgt-in sub-neg distribute-lft-in
associate-*l* *-commutative distribute-lft-out-- difference-of-squares
Counts
4 → 59
Calls
4 calls:
11.0ms
(* (* x z) (- y 1.0))
7.0ms
(cbrt (* (* x z) (- y 1.0)))
7.0ms
(cbrt (* (* x z) (- y 1.0)))
7.0ms
(cbrt (* (* x z) (- y 1.0)))

series623.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* (* x z) (- y 1.0))
201.0ms
(cbrt (* (* x z) (- y 1.0)))
190.0ms
(cbrt (* (* x z) (- y 1.0)))
185.0ms
(cbrt (* (* x z) (- y 1.0)))

simplify48.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0356735
11382659
25001650

prune233.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 3 expressions with local error:

2.7b
(* x (- 1.0 (/ (* (- (* 1.0 1.0) (* y y)) z) (+ 1.0 y))))
3.8b
(* (- (* 1.0 1.0) (* y y)) z)
6.4b
(/ (* (- (* 1.0 1.0) (* y y)) z) (+ 1.0 y))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt *-un-lft-identity
12×add-exp-log add-cbrt-cube
add-cube-cbrt
associate-*r*
pow1 associate-*l*
times-frac associate-*l/ associate-/r*
flip3-- prod-exp flip-- cbrt-unprod add-log-exp
cbrt-undiv distribute-rgt-in sub-neg distribute-lft-in associate-*r/ div-exp pow-prod-down associate-/r/ *-commutative associate-/l/ distribute-lft-out difference-of-squares unswap-sqr
frac-2neg flip3-+ clear-num flip-+ div-inv associate-/l* distribute-lft-out--
Counts
3 → 74
Calls
3 calls:
37.0ms
(* x (- 1.0 (/ (* (- (* 1.0 1.0) (* y y)) z) (+ 1.0 y))))
10.0ms
(* (- (* 1.0 1.0) (* y y)) z)
9.0ms
(/ (* (- (* 1.0 1.0) (* y y)) z) (+ 1.0 y))

series180.0ms

Counts
3 → 9
Calls
3 calls:
86.0ms
(* x (- 1.0 (/ (* (- (* 1.0 1.0) (* y y)) z) (+ 1.0 y))))
37.0ms
(* (- (* 1.0 1.0) (* y y)) z)
56.0ms
(/ (* (- (* 1.0 1.0) (* y y)) z) (+ 1.0 y))

simplify61.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0397661
12002573
25003565

prune165.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.0b

regimes185.0ms

Accuracy

96.1% (0.1b remaining)

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

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02817
12817

end0.0ms

sample439.0ms

Algorithm
intervals
Results
236.0ms10150×body80valid