Details

Time bar (total: 5.7s)

sample22.0ms

Algorithm
intervals
Results
10.0ms326×body80valid

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1255
2415
3635
4805
5965
61135
71215
81245
91245

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.7b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (/ y z) (/ t (- 1.0 z)))
0.0b
(/ t (- 1.0 z))
3.6b
(* x (- (/ y z) (/ t (- 1.0 z))))

rewrite171.0ms

Algorithm
rewrite-expression-head
Rules
1192×times-frac
1082×add-sqr-sqrt
1078×*-un-lft-identity
819×prod-diff
814×add-cube-cbrt
275×distribute-rgt-in distribute-lft-in
129×distribute-lft-out-- difference-of-squares
104×div-inv
80×associate-/r/
42×flip3-- flip--
13×fma-neg
10×associate-*r*
add-exp-log add-cbrt-cube
pow1 associate-/r* add-log-exp
expm1-log1p-u sub-neg associate-*r/ associate-*l* log1p-expm1-u associate-/l*
frac-sub
cbrt-undiv frac-2neg diff-log div-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod unswap-sqr
Counts
3 → 927
Calls
3 calls:
25.0ms
(- (/ y z) (/ t (- 1.0 z)))
5.0ms
(/ t (- 1.0 z))
47.0ms
(* x (- (/ y z) (/ t (- 1.0 z))))

series123.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(- (/ y z) (/ t (- 1.0 z)))
40.0ms
(/ t (- 1.0 z))
48.0ms
(* x (- (/ y z) (/ t (- 1.0 z))))

simplify240.0ms

Algorithm
egg-herbie
Counts
936 → 936
Iterations

Useful iterations: 1 (36.0ms)

IterNodesCost
0166127825
1500122260

prune1.7s

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.2b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ t (- 1.0 z))
0.0b
(/ t (- 1.0 z))
0.2b
(fma y (/ 1 z) (- (* (/ t (- 1.0 z)) 1)))
3.6b
(* x (+ (fma y (/ 1 z) (- (* (/ t (- 1.0 z)) 1))) (* (/ t (- 1.0 z)) (+ (- 1) 1))))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt
42×*-un-lft-identity
30×times-frac
26×add-cube-cbrt
10×add-exp-log associate-/r* add-cbrt-cube
distribute-lft-out-- difference-of-squares
pow1 associate-/l*
expm1-log1p-u associate-/r/ log1p-expm1-u add-log-exp
associate-*r* associate-*l*
cbrt-undiv flip3-- frac-2neg associate-*r/ div-exp clear-num flip-- div-inv
distribute-rgt-in distribute-lft-in flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ fma-udef unswap-sqr
Counts
4 → 112
Calls
4 calls:
6.0ms
(/ t (- 1.0 z))
5.0ms
(/ t (- 1.0 z))
1.0ms
(fma y (/ 1 z) (- (* (/ t (- 1.0 z)) 1)))
5.0ms
(* x (+ (fma y (/ 1 z) (- (* (/ t (- 1.0 z)) 1))) (* (/ t (- 1.0 z)) (+ (- 1) 1))))

series184.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(/ t (- 1.0 z))
35.0ms
(/ t (- 1.0 z))
49.0ms
(fma y (/ 1 z) (- (* (/ t (- 1.0 z)) 1)))
61.0ms
(* x (+ (fma y (/ 1 z) (- (* (/ t (- 1.0 z)) 1))) (* (/ t (- 1.0 z)) (+ (- 1) 1))))

simplify58.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0387969
11798870
25003827

prune414.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ y z) (/ y z))
2.1b
(- (* (/ y z) (/ y z)) (* (/ t (- 1.0 z)) (/ t (- 1.0 z))))
3.6b
(* x (/ (- (* (/ y z) (/ y z)) (* (/ t (- 1.0 z)) (/ t (- 1.0 z)))) (+ (/ y z) (/ t (- 1.0 z)))))
22.9b
(/ (- (* (/ y z) (/ y z)) (* (/ t (- 1.0 z)) (/ t (- 1.0 z)))) (+ (/ y z) (/ t (- 1.0 z))))

rewrite86.0ms

Algorithm
rewrite-expression-head
Rules
155×*-un-lft-identity
125×times-frac
73×add-sqr-sqrt
56×add-cube-cbrt
44×associate-*r*
27×distribute-lft-out
23×add-exp-log add-cbrt-cube
18×frac-sub
16×associate-*l*
14×associate-*r/ difference-of-squares
13×pow1 frac-times swap-sqr associate-*l/
11×associate-/l/
distribute-lft-out--
cbrt-undiv div-exp prod-exp associate-/r* associate-/r/ cbrt-unprod div-inv add-log-exp unswap-sqr
expm1-log1p-u log1p-expm1-u associate-/l*
flip3-- flip3-+ pow-prod-down frac-add *-commutative flip-- flip-+
pow2 sub-neg frac-2neg pow-plus fma-neg diff-log div-sub prod-diff clear-num pow-sqr pow-prod-up
Counts
4 → 210
Calls
4 calls:
13.0ms
(* (/ y z) (/ y z))
8.0ms
(- (* (/ y z) (/ y z)) (* (/ t (- 1.0 z)) (/ t (- 1.0 z))))
30.0ms
(* x (/ (- (* (/ y z) (/ y z)) (* (/ t (- 1.0 z)) (/ t (- 1.0 z)))) (+ (/ y z) (/ t (- 1.0 z)))))
27.0ms
(/ (- (* (/ y z) (/ y z)) (* (/ t (- 1.0 z)) (/ t (- 1.0 z)))) (+ (/ y z) (/ t (- 1.0 z))))

series315.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(* (/ y z) (/ y z))
70.0ms
(- (* (/ y z) (/ y z)) (* (/ t (- 1.0 z)) (/ t (- 1.0 z))))
143.0ms
(* x (/ (- (* (/ y z) (/ y z)) (* (/ t (- 1.0 z)) (/ t (- 1.0 z)))) (+ (/ y z) (/ t (- 1.0 z)))))
74.0ms
(/ (- (* (/ y z) (/ y z)) (* (/ t (- 1.0 z)) (/ t (- 1.0 z)))) (+ (/ y z) (/ t (- 1.0 z))))

simplify50.0ms

Algorithm
egg-herbie
Counts
222 → 222
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
09342813
150012578

prune514.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite184.0ms

Algorithm
rewrite-expression-head
Rules
444×*-un-lft-identity
325×times-frac
206×add-sqr-sqrt
75×distribute-lft-out--
70×associate-*r*
69×distribute-lft-out
52×difference-of-squares
48×add-cube-cbrt
20×add-exp-log add-cbrt-cube
13×fma-def
12×associate-*l/
11×pow1
10×associate-/l*
associate-*l* prod-exp cbrt-unprod
flip3-+ frac-add associate-/r* associate-/r/ flip-+ add-log-exp
expm1-log1p-u pow-prod-down log1p-expm1-u
cbrt-undiv frac-times div-exp div-inv associate-/l/
*-commutative
+-commutative flip3-- frac-2neg div-sub associate-*r/ clear-num sum-log frac-sub flip-- unswap-sqr
Counts
4 → 248
Calls
4 calls:
18.0ms
(+ (/ y z) (/ t (- 1.0 z)))
68.0ms
(* (* (+ (/ y z) (/ t (- 1.0 z))) x) (/ (- (/ y z) (/ t (- 1.0 z))) (+ (/ y z) (/ t (- 1.0 z)))))
24.0ms
(* (+ (/ y z) (/ t (- 1.0 z))) x)
57.0ms
(/ (- (/ y z) (/ t (- 1.0 z))) (+ (/ y z) (/ t (- 1.0 z))))

series188.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(+ (/ y z) (/ t (- 1.0 z)))
41.0ms
(* (* (+ (/ y z) (/ t (- 1.0 z))) x) (/ (- (/ y z) (/ t (- 1.0 z))) (+ (/ y z) (/ t (- 1.0 z)))))
36.0ms
(* (+ (/ y z) (/ t (- 1.0 z))) x)
79.0ms
(/ (- (/ y z) (/ t (- 1.0 z))) (+ (/ y z) (/ t (- 1.0 z))))

simplify116.0ms

Algorithm
egg-herbie
Counts
260 → 260
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
07723351
137813124
250023120

prune518.0ms

Pruning

11 alts after pruning (8 fresh and 3 done)

Merged error: 0.0b

regimes238.0ms

Accuracy

58.3% (2.0b remaining)

Error of 2.0b against oracle of 0.0b and baseline of 4.8b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04458
14458

end0.0ms

sample574.0ms

Algorithm
intervals
Results
316.0ms10102×body80valid