Details

Time bar (total: 3.9s)

sample30.0ms

Algorithm
intervals
Results
12.0ms318×body80valid

simplify65.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (15.0ms)

IterNodesCost
0258
1508
21068
32088
43226
55206
614396
750026

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 8.3b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (* z 2.0) (- 1.0 t))
0.0b
(+ (/ x y) (/ (+ 2.0 (* (* z 2.0) (- 1.0 t))) (* t z)))
8.3b
(/ (+ 2.0 (* (* z 2.0) (- 1.0 t))) (* t z))

rewrite100.0ms

Algorithm
rewrite-expression-head
Rules
29×*-un-lft-identity
27×add-sqr-sqrt
25×add-cube-cbrt
18×prod-diff
13×add-exp-log fma-def add-cbrt-cube
12×times-frac
11×distribute-rgt-in distribute-lft-in
pow1
associate-*r* add-log-exp
prod-exp cbrt-unprod
expm1-log1p-u pow-prod-down log1p-expm1-u associate-/l*
cbrt-undiv sub-neg flip3-+ associate-*r/ div-exp flip-+ div-inv associate-/l/
+-commutative flip3-- frac-2neg associate-*l* frac-add clear-num associate-/r* sum-log *-commutative flip-- distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
3 → 99
Calls
3 calls:
31.0ms
(* (* z 2.0) (- 1.0 t))
32.0ms
(+ (/ x y) (/ (+ 2.0 (* (* z 2.0) (- 1.0 t))) (* t z)))
33.0ms
(/ (+ 2.0 (* (* z 2.0) (- 1.0 t))) (* t z))

series144.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(* (* z 2.0) (- 1.0 t))
47.0ms
(+ (/ x y) (/ (+ 2.0 (* (* z 2.0) (- 1.0 t))) (* t z)))
56.0ms
(/ (+ 2.0 (* (* z 2.0) (- 1.0 t))) (* t z))

simplify70.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
0553869
12416670
25001668

prune240.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma 2.0 (/ 1 (* t z)) (- (* 2.0 (/ 1 t)) 2.0))
0.0b
(+ (/ x y) (fma 2.0 (/ 1 (* t z)) (- (* 2.0 (/ 1 t)) 2.0)))
0.4b
(/ 1 (* t z))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
14×add-exp-log *-un-lft-identity
13×fma-def
12×add-sqr-sqrt add-cube-cbrt times-frac
add-cbrt-cube
pow1
add-log-exp
div-exp
expm1-log1p-u prod-exp log1p-expm1-u associate-/l*
cbrt-undiv rec-exp pow-flip 1-exp fma-udef div-inv
+-commutative associate-+r+ frac-2neg flip3-+ pow-prod-down clear-num associate-/r* sum-log cbrt-unprod flip-+ distribute-lft-out inv-pow
Counts
3 → 68
Calls
3 calls:
0.0ms
(fma 2.0 (/ 1 (* t z)) (- (* 2.0 (/ 1 t)) 2.0))
16.0ms
(+ (/ x y) (fma 2.0 (/ 1 (* t z)) (- (* 2.0 (/ 1 t)) 2.0)))
13.0ms
(/ 1 (* t z))

series96.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(fma 2.0 (/ 1 (* t z)) (- (* 2.0 (/ 1 t)) 2.0))
54.0ms
(+ (/ x y) (fma 2.0 (/ 1 (* t z)) (- (* 2.0 (/ 1 t)) 2.0)))
11.0ms
(/ 1 (* t z))

simplify96.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 3 (88.0ms)

IterNodesCost
0227393
1815355
23966341
35001339

prune242.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt y)
0.6b
(cbrt y)
0.6b
(cbrt y)

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u pow1/3 add-cbrt-cube log1p-expm1-u add-log-exp
Counts
4 → 52
Calls
4 calls:
1.0ms
(cbrt x)
1.0ms
(cbrt y)
1.0ms
(cbrt y)
1.0ms
(cbrt y)

series669.0ms

Counts
4 → 12
Calls
4 calls:
168.0ms
(cbrt x)
169.0ms
(cbrt y)
164.0ms
(cbrt y)
167.0ms
(cbrt y)

simplify62.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
073172
1149160
2350152
31283152
45001152

prune268.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma z (* 2.0 (- 1.0 t)) 2.0)
0.0b
(+ (/ x y) (/ (/ (fma z (* 2.0 (- 1.0 t)) 2.0) t) z))
7.4b
(/ (/ (fma z (* 2.0 (- 1.0 t)) 2.0) t) z)
7.8b
(/ (fma z (* 2.0 (- 1.0 t)) 2.0) t)

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
95×times-frac
67×*-un-lft-identity
61×add-sqr-sqrt add-cube-cbrt
16×associate-/l*
13×fma-def
11×add-exp-log add-cbrt-cube
div-inv
associate-/r* add-log-exp
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
frac-2neg clear-num distribute-lft-out
+-commutative flip3-+ frac-add sum-log flip-+ fma-udef associate-/l/
Counts
4 → 140
Calls
4 calls:
0.0ms
(fma z (* 2.0 (- 1.0 t)) 2.0)
44.0ms
(+ (/ x y) (/ (/ (fma z (* 2.0 (- 1.0 t)) 2.0) t) z))
11.0ms
(/ (/ (fma z (* 2.0 (- 1.0 t)) 2.0) t) z)
8.0ms
(/ (fma z (* 2.0 (- 1.0 t)) 2.0) t)

series205.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(fma z (* 2.0 (- 1.0 t)) 2.0)
82.0ms
(+ (/ x y) (/ (/ (fma z (* 2.0 (- 1.0 t)) 2.0) t) z))
53.0ms
(/ (/ (fma z (* 2.0 (- 1.0 t)) 2.0) t) z)
45.0ms
(/ (fma z (* 2.0 (- 1.0 t)) 2.0) t)

simplify52.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04971291
116341212
250011206

prune441.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.0b

regimes149.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0198
1198

end0.0ms

sample813.0ms

Algorithm
intervals
Results
424.0ms10436×body80valid