Details

Time bar (total: 2.2s)

sample23.0ms

Algorithm
intervals
Results
11.0ms339×body80valid

simplify125.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
0144
1284
2513
3903
41503
52143
63083
74473
85503
98653
1012313
1117253
1227283
1344663
1450013

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- y x) t)
3.0b
(fma (/ (- y x) t) z x)

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt *-un-lft-identity
15×times-frac
12×add-cube-cbrt
associate-/l*
add-exp-log add-cbrt-cube distribute-lft-out-- difference-of-squares
associate-/r*
pow1 expm1-log1p-u log1p-expm1-u associate-/l/ add-log-exp
cbrt-undiv flip3-- frac-2neg div-sub div-exp clear-num flip-- fma-udef div-inv
Counts
2 → 50
Calls
2 calls:
9.0ms
(/ (- y x) t)
0.0ms
(fma (/ (- y x) t) z x)

series63.0ms

Counts
2 → 6
Calls
2 calls:
29.0ms
(/ (- y x) t)
34.0ms
(fma (/ (- y x) t) z x)

simplify47.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0194271
1528254
21881245
35002245

prune132.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* (/ (- y x) t) z) x)
0.0b
(/ (- y x) t)
3.8b
(* (/ (- y x) t) z)

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt
37×*-un-lft-identity
31×times-frac
23×add-cube-cbrt
19×associate-*l*
10×add-exp-log add-cbrt-cube
distribute-lft-out-- difference-of-squares
pow1 associate-/l* add-log-exp
expm1-log1p-u associate-*r* associate-/r* log1p-expm1-u
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
+-commutative flip3-- fma-def frac-2neg flip3-+ div-sub pow-prod-down associate-*l/ clear-num sum-log *-commutative flip-- flip-+
Counts
3 → 94
Calls
3 calls:
6.0ms
(+ (* (/ (- y x) t) z) x)
8.0ms
(/ (- y x) t)
18.0ms
(* (/ (- y x) t) z)

series105.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(+ (* (/ (- y x) t) z) x)
30.0ms
(/ (- y x) t)
42.0ms
(* (/ (- y x) t) z)

simplify41.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0358520
11176485
25001470

prune222.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* (- y x) (/ z t)) x)
5.2b
(* (- y x) (/ z t))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
13×associate-*r*
12×*-un-lft-identity
10×add-cube-cbrt times-frac
add-exp-log add-cbrt-cube
associate-*l*
pow1 add-log-exp
expm1-log1p-u frac-times flip3-- associate-*l/ prod-exp flip-- cbrt-unprod log1p-expm1-u unswap-sqr
cbrt-undiv +-commutative fma-def flip3-+ associate-*r/ div-exp pow-prod-down sum-log *-commutative flip-+ div-inv distribute-lft-out-- difference-of-squares
Counts
2 → 54
Calls
2 calls:
7.0ms
(+ (* (- y x) (/ z t)) x)
17.0ms
(* (- y x) (/ z t))

series79.0ms

Counts
2 → 6
Calls
2 calls:
36.0ms
(+ (* (- y x) (/ z t)) x)
42.0ms
(* (- y x) (/ z t))

simplify40.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0306328
11261304
25001289

prune135.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* (* (- y x) (/ 1 t)) z) x)
0.2b
(* (- y x) (/ 1 t))
3.8b
(* (* (- y x) (/ 1 t)) z)

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
27×add-exp-log
21×add-sqr-sqrt
17×add-cbrt-cube
16×associate-*r*
15×*-un-lft-identity
13×prod-exp
12×add-cube-cbrt
11×times-frac
10×pow1 associate-*l/
cbrt-unprod
associate-*l*
add-log-exp
frac-times flip3-- div-exp pow-prod-down flip--
expm1-log1p-u log1p-expm1-u unswap-sqr
cbrt-undiv rec-exp 1-exp associate-*r/ un-div-inv *-commutative
+-commutative fma-def flip3-+ sum-log flip-+ div-inv distribute-lft-out-- difference-of-squares
Counts
3 → 88
Calls
3 calls:
22.0ms
(+ (* (* (- y x) (/ 1 t)) z) x)
15.0ms
(* (- y x) (/ 1 t))
26.0ms
(* (* (- y x) (/ 1 t)) z)

series105.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(+ (* (* (- y x) (/ 1 t)) z) x)
26.0ms
(* (- y x) (/ 1 t))
46.0ms
(* (* (- y x) (/ 1 t)) z)

simplify53.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0418529
11825441
25003424

prune196.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

regimes128.0ms

Accuracy

-4.1% (2.2b remaining)

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

bsearch38.0ms

Steps
ItersRangePoint
9
-4.094505639709548e-92
-5.935344559987833e-100
-4.0164937919145246e-92

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0239
1239

end0.0ms

sample541.0ms

Algorithm
intervals
Results
271.0ms10619×body80valid