Details

Time bar (total: 2.3s)

sample17.0ms

Algorithm
intervals
Results
7.0ms327×body80valid

simplify39.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0143
1243
2403
3663
4863
5973
61183
71593
82443
94423
106263
116913
127383
137653
147653

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
associate-*l*
pow1 add-exp-log add-cube-cbrt add-cbrt-cube add-log-exp
associate-*r*
expm1-log1p-u associate-*l/ log1p-expm1-u
+-commutative flip3-- fma-def flip3-+ pow-prod-down prod-exp sum-log *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out-- difference-of-squares unswap-sqr
Counts
2 → 38
Calls
2 calls:
4.0ms
(+ (* x y) (* (- x 1.0) z))
6.0ms
(* (- x 1.0) z)

series63.0ms

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

simplify106.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0199197
1834176
24327176
35001176

prune91.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x y) (/ (* (- (* x x) (* 1.0 1.0)) z) (+ x 1.0)))
0.0b
(- (* x x) (* 1.0 1.0))
2.9b
(* (- (* x x) (* 1.0 1.0)) z)
6.4b
(/ (* (- (* x x) (* 1.0 1.0)) z) (+ x 1.0))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
11×add-exp-log add-cbrt-cube
10×add-sqr-sqrt
add-cube-cbrt add-log-exp
pow1
expm1-log1p-u times-frac associate-*l* associate-*l/ associate-/r* log1p-expm1-u
flip3-- associate-*r* flip--
cbrt-undiv flip3-+ div-exp prod-exp associate-/r/ cbrt-unprod flip-+ associate-/l/ distribute-lft-out difference-of-squares
+-commutative sub-neg fma-def frac-2neg fma-neg diff-log prod-diff pow-prod-down clear-num sum-log *-commutative div-inv associate-/l* unswap-sqr
Counts
4 → 83
Calls
4 calls:
7.0ms
(+ (* x y) (/ (* (- (* x x) (* 1.0 1.0)) z) (+ x 1.0)))
4.0ms
(- (* x x) (* 1.0 1.0))
6.0ms
(* (- (* x x) (* 1.0 1.0)) z)
9.0ms
(/ (* (- (* x x) (* 1.0 1.0)) z) (+ x 1.0))

series194.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(+ (* x y) (/ (* (- (* x x) (* 1.0 1.0)) z) (+ x 1.0)))
42.0ms
(- (* x x) (* 1.0 1.0))
41.0ms
(* (- (* x x) (* 1.0 1.0)) z)
60.0ms
(/ (* (- (* x x) (* 1.0 1.0)) z) (+ x 1.0))

simplify55.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0405663
11809588
25003571

prune222.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (pow x 3) (pow 1.0 3))
0.0b
(+ (* x x) (+ (* 1.0 1.0) (* x 1.0)))
2.8b
(* (- (pow x 3) (pow 1.0 3)) z)
10.9b
(/ (* (- (pow x 3) (pow 1.0 3)) z) (+ (* x x) (+ (* 1.0 1.0) (* x 1.0))))

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
144×prod-diff
133×add-sqr-sqrt
103×*-un-lft-identity
99×unpow-prod-down cube-prod
83×add-cube-cbrt
41×sqr-pow
32×difference-of-squares
25×cube-mult unpow3 associate-*l*
12×fma-neg
11×add-exp-log add-cbrt-cube add-log-exp
10×distribute-lft-out--
pow1
expm1-log1p-u associate-*l/ log1p-expm1-u
flip3-- times-frac associate-*r* associate-/r* sum-log flip--
difference-cubes cbrt-undiv flip3-+ div-exp prod-exp associate-/r/ cbrt-unprod flip-+ associate-/l/
+-commutative sub-neg associate-+r+ fma-def frac-2neg diff-log pow-prod-down clear-num *-commutative div-inv associate-/l* unswap-sqr
Counts
4 → 279
Calls
4 calls:
17.0ms
(- (pow x 3) (pow 1.0 3))
6.0ms
(+ (* x x) (+ (* 1.0 1.0) (* x 1.0)))
16.0ms
(* (- (pow x 3) (pow 1.0 3)) z)
20.0ms
(/ (* (- (pow x 3) (pow 1.0 3)) z) (+ (* x x) (+ (* 1.0 1.0) (* x 1.0))))

series210.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(- (pow x 3) (pow 1.0 3))
25.0ms
(+ (* x x) (+ (* 1.0 1.0) (* x 1.0)))
39.0ms
(* (- (pow x 3) (pow 1.0 3)) z)
85.0ms
(/ (* (- (pow x 3) (pow 1.0 3)) z) (+ (* x x) (+ (* 1.0 1.0) (* x 1.0))))

simplify155.0ms

Algorithm
egg-herbie
Counts
291 → 291
Iterations

Useful iterations: 2 (119.0ms)

IterNodesCost
07352664
133851922
250011904

prune433.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes70.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
0114
1114

end0.0ms

sample457.0ms

Algorithm
intervals
Results
243.0ms10100×body80valid