Details

Time bar (total: 4.6s)

sample20.0ms

Algorithm
intervals
Results
9.0ms324×body80valid

simplify93.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (4.0ms)

IterNodesCost
0226
1506
21244
32804
45344
58694
613974
735214
850014

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (* 4.0 (- (+ x (* y 0.25)) z)) y)
0.0b
(+ 1.0 (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log *-un-lft-identity add-cbrt-cube
add-sqr-sqrt add-cube-cbrt
add-log-exp
fma-def times-frac associate-/r*
pow1 cbrt-undiv expm1-log1p-u associate-*r/ div-exp log1p-expm1-u associate-/l/
+-commutative flip3-- frac-2neg flip3-+ prod-exp clear-num sum-log flip-- cbrt-unprod flip-+ div-inv distribute-lft-out associate-/l*
Counts
2 → 42
Calls
2 calls:
9.0ms
(/ (* 4.0 (- (+ x (* y 0.25)) z)) y)
6.0ms
(+ 1.0 (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))

series67.0ms

Counts
2 → 6
Calls
2 calls:
41.0ms
(/ (* 4.0 (- (+ x (* y 0.25)) z)) y)
26.0ms
(+ 1.0 (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))

simplify30.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0265349
11079306
25002297

prune111.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma 4.0 (/ x y) (- 2.0 (* 4.0 (/ z y))))
0.0b
(- 2.0 (* 4.0 (/ z y)))
0.0b
(* 4.0 (/ z y))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
13×add-cube-cbrt *-un-lft-identity associate-*r*
10×times-frac
add-exp-log add-cbrt-cube
pow1 add-log-exp
expm1-log1p-u fma-neg associate-*l* prod-diff log1p-expm1-u
prod-exp cbrt-unprod unswap-sqr
cbrt-undiv sub-neg flip3-- diff-log associate-*r/ div-exp pow-prod-down *-commutative flip-- fma-udef div-inv
Counts
3 → 64
Calls
3 calls:
1.0ms
(fma 4.0 (/ x y) (- 2.0 (* 4.0 (/ z y))))
3.0ms
(- 2.0 (* 4.0 (/ z y)))
7.0ms
(* 4.0 (/ z y))

series75.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(fma 4.0 (/ x y) (- 2.0 (* 4.0 (/ z y))))
30.0ms
(- 2.0 (* 4.0 (/ z y)))
18.0ms
(* 4.0 (/ z y))

simplify34.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0267355
11067317
25001316

prune163.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))
3.6b
(- (* 1.0 1.0) (* (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (/ (* 4.0 (- (+ x (* y 0.25)) z)) y)))
3.6b
(- 1.0 (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))
17.7b
(/ (- (* 1.0 1.0) (* (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))) (- 1.0 (/ (* 4.0 (- (+ x (* y 0.25)) z)) y)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
51×add-sqr-sqrt
49×*-un-lft-identity
42×add-exp-log add-cbrt-cube
41×times-frac
37×add-cube-cbrt
22×prod-diff
15×prod-exp cbrt-unprod
13×cbrt-undiv div-exp difference-of-squares
11×pow1
div-inv add-log-exp
swap-sqr associate-*r* associate-*l*
distribute-lft-out--
associate-/r*
expm1-log1p-u flip3-- fma-neg flip-- log1p-expm1-u associate-/l*
sub-neg diff-log associate-/r/ associate-/l/
pow2 frac-times frac-2neg pow-plus div-sub associate-*r/ pow-prod-down associate-*l/ clear-num pow-sqr *-commutative pow-prod-up unswap-sqr
Counts
4 → 163
Calls
4 calls:
16.0ms
(* (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))
4.0ms
(- (* 1.0 1.0) (* (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (/ (* 4.0 (- (+ x (* y 0.25)) z)) y)))
5.0ms
(- 1.0 (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))
10.0ms
(/ (- (* 1.0 1.0) (* (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))) (- 1.0 (/ (* 4.0 (- (+ x (* y 0.25)) z)) y)))

series334.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(* (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))
112.0ms
(- (* 1.0 1.0) (* (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (/ (* 4.0 (- (+ x (* y 0.25)) z)) y)))
43.0ms
(- 1.0 (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))
83.0ms
(/ (- (* 1.0 1.0) (* (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))) (- 1.0 (/ (* 4.0 (- (+ x (* y 0.25)) z)) y)))

simplify145.0ms

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 2 (118.0ms)

IterNodesCost
07983390
141722620
250012585

prune382.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

9.1b
(* (* (cbrt (- (* 1.0 1.0) (* (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (/ (* 4.0 (- (+ x (* y 0.25)) z)) y)))) (cbrt (- (* 1.0 1.0) (* (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))))) (/ (cbrt (- (* 1.0 1.0) (* (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (/ (* 4.0 (- (+ x (* y 0.25)) z)) y)))) (- 1.0 (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))))
18.1b
(cbrt (- (* 1.0 1.0) (* (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))))
18.1b
(cbrt (- (* 1.0 1.0) (* (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))))
18.1b
(cbrt (- (* 1.0 1.0) (* (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt
41×associate-*r*
39×*-un-lft-identity
37×times-frac
33×cbrt-prod
30×cbrt-div
25×add-cube-cbrt
16×add-exp-log frac-times flip3-- flip--
15×difference-of-squares
12×associate-*l/
10×add-cbrt-cube
pow1
distribute-lft-out--
prod-exp cbrt-unprod
associate-*r/
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3 pow-prod-down unswap-sqr
cbrt-undiv div-exp associate-/r/
associate-*l* *-commutative div-inv
Counts
4 → 130
Calls
4 calls:
24.0ms
(* (* (cbrt (- (* 1.0 1.0) (* (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (/ (* 4.0 (- (+ x (* y 0.25)) z)) y)))) (cbrt (- (* 1.0 1.0) (* (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))))) (/ (cbrt (- (* 1.0 1.0) (* (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (/ (* 4.0 (- (+ x (* y 0.25)) z)) y)))) (- 1.0 (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))))
3.0ms
(cbrt (- (* 1.0 1.0) (* (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))))
3.0ms
(cbrt (- (* 1.0 1.0) (* (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))))
4.0ms
(cbrt (- (* 1.0 1.0) (* (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))))

series1.8s

Counts
4 → 12
Calls
4 calls:
88.0ms
(* (* (cbrt (- (* 1.0 1.0) (* (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (/ (* 4.0 (- (+ x (* y 0.25)) z)) y)))) (cbrt (- (* 1.0 1.0) (* (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))))) (/ (cbrt (- (* 1.0 1.0) (* (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (/ (* 4.0 (- (+ x (* y 0.25)) z)) y)))) (- 1.0 (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))))
714.0ms
(cbrt (- (* 1.0 1.0) (* (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))))
522.0ms
(cbrt (- (* 1.0 1.0) (* (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))))
511.0ms
(cbrt (- (* 1.0 1.0) (* (/ (* 4.0 (- (+ x (* y 0.25)) z)) y) (/ (* 4.0 (- (+ x (* y 0.25)) z)) y))))

simplify110.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
06436311
126535727
250025494

prune491.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes88.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
0115
1115

end0.0ms

sample498.0ms

Algorithm
intervals
Results
296.0ms10070×body80valid