Details

Time bar (total: 2.2s)

sample18.0ms

Algorithm
intervals
Results
8.0ms334×body80valid

simplify40.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

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.0ms

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

series61.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0133158
1462135
22228135
35001135

prune88.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (- (sqrt x) (sqrt 1.0)) z)
0.1b
(* (+ (sqrt x) (sqrt 1.0)) (* (- (sqrt x) (sqrt 1.0)) z))

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
14×associate-*l*
13×*-un-lft-identity
10×associate-*l/
pow1 add-exp-log add-cbrt-cube
sqrt-prod
add-cube-cbrt
frac-times flip3-- associate-*r* pow-prod-down prod-exp flip-- cbrt-unprod difference-of-squares
flip3-+ flip-+
expm1-log1p-u associate-*r/ *-commutative log1p-expm1-u distribute-lft-out distribute-lft-out-- add-log-exp
unswap-sqr
Counts
2 → 58
Calls
2 calls:
23.0ms
(* (- (sqrt x) (sqrt 1.0)) z)
46.0ms
(* (+ (sqrt x) (sqrt 1.0)) (* (- (sqrt x) (sqrt 1.0)) z))

series441.0ms

Counts
2 → 6
Calls
2 calls:
95.0ms
(* (- (sqrt x) (sqrt 1.0)) z)
346.0ms
(* (+ (sqrt x) (sqrt 1.0)) (* (- (sqrt x) (sqrt 1.0)) z))

simplify58.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0425641
11958509
25001482

prune151.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- x 1.0) (- (* z 1.0)))
0.0b
(+ (* (- x 1.0) (* x z)) (* (- x 1.0) (- (* z 1.0))))
0.1b
(* (- x 1.0) (* x z))
5.0b
(/ (+ (* (- x 1.0) (* x z)) (* (- x 1.0) (- (* z 1.0)))) (- x 1.0))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
32×*-un-lft-identity
20×times-frac associate-*l/
18×add-cube-cbrt
13×add-exp-log add-cbrt-cube
11×pow1 flip3-- flip--
10×associate-*l*
frac-add
associate-*r* distribute-lft-out distribute-lft-out-- difference-of-squares
associate-/l/ add-log-exp
associate-/r* distribute-rgt-neg-out
expm1-log1p-u pow-prod-down prod-exp cbrt-unprod log1p-expm1-u associate-/l*
flip3-+ div-sub unsub-neg associate-/r/ *-commutative flip-+
cbrt-undiv +-commutative distribute-lft-neg-in neg-mul-1 fma-def distribute-rgt-neg-in frac-2neg div-exp clear-num sum-log div-inv unswap-sqr
Counts
4 → 126
Calls
4 calls:
11.0ms
(* (- x 1.0) (- (* z 1.0)))
11.0ms
(+ (* (- x 1.0) (* x z)) (* (- x 1.0) (- (* z 1.0))))
13.0ms
(* (- x 1.0) (* x z))
29.0ms
(/ (+ (* (- x 1.0) (* x z)) (* (- x 1.0) (- (* z 1.0)))) (- x 1.0))

series185.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(* (- x 1.0) (- (* z 1.0)))
32.0ms
(+ (* (- x 1.0) (* x z)) (* (- x 1.0) (- (* z 1.0))))
44.0ms
(* (- x 1.0) (* x z))
71.0ms
(/ (+ (* (- x 1.0) (* x z)) (* (- x 1.0) (- (* z 1.0)))) (- x 1.0))

simplify99.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
05891351
131941171
250011151

prune355.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes42.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

sample458.0ms

Algorithm
intervals
Results
246.0ms10142×body80valid