Details

Time bar (total: 5.9s)

sample35.0ms

Algorithm
intervals
Results
23.0ms323×body80valid

simplify17.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: 6.8b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite279.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:
5.0ms
(/ t (- 1.0 z))
36.0ms
(- (/ y z) (/ t (- 1.0 z)))
143.0ms
(* x (- (/ y z) (/ t (- 1.0 z))))

series118.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(/ t (- 1.0 z))
39.0ms
(- (/ y z) (/ t (- 1.0 z)))
46.0ms
(* x (- (/ y z) (/ t (- 1.0 z))))

simplify237.0ms

Algorithm
egg-herbie
Counts
936 → 936
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
0166127825
1500122260

prune1.6s

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.2b

localize16.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)))
6.5b
(* x (fma y (/ 1 z) (- (* (/ t (- 1.0 z)) 1))))

rewrite17.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* fma-udef
cbrt-undiv flip3-- frac-2neg div-exp clear-num flip-- div-inv
distribute-rgt-in distribute-lft-in pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 110
Calls
4 calls:
5.0ms
(/ t (- 1.0 z))
5.0ms
(/ t (- 1.0 z))
0.0ms
(fma y (/ 1 z) (- (* (/ t (- 1.0 z)) 1)))
3.0ms
(* x (fma y (/ 1 z) (- (* (/ t (- 1.0 z)) 1))))

series178.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(/ t (- 1.0 z))
39.0ms
(/ t (- 1.0 z))
46.0ms
(fma y (/ 1 z) (- (* (/ t (- 1.0 z)) 1)))
59.0ms
(* x (fma y (/ 1 z) (- (* (/ t (- 1.0 z)) 1))))

simplify44.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0310779
11210702
25001695

prune435.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
63×add-sqr-sqrt
58×*-un-lft-identity
49×times-frac
36×add-cube-cbrt
21×associate-*r*
18×add-exp-log add-cbrt-cube
13×associate-/r*
11×distribute-lft-out-- difference-of-squares
associate-/l*
pow1 associate-/r/
cbrt-undiv div-exp
expm1-log1p-u log1p-expm1-u div-inv add-log-exp
flip3-- frac-2neg associate-*l* prod-exp clear-num flip-- cbrt-unprod
unswap-sqr
associate-*r/ pow-prod-down *-commutative
Counts
4 → 143
Calls
4 calls:
5.0ms
(/ t (- 1.0 z))
5.0ms
(/ t (- 1.0 z))
16.0ms
(* x (/ t (- 1.0 z)))
3.0ms
(/ (* x y) z)

series152.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(/ t (- 1.0 z))
40.0ms
(/ t (- 1.0 z))
53.0ms
(* x (/ t (- 1.0 z)))
25.0ms
(/ (* x y) z)

simplify65.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0455771
12227710
25001710

prune500.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ t (- 1.0 z))
0.0b
(/ t (- 1.0 z))
3.4b
(* x (/ t (- 1.0 z)))
5.9b
(* (* x y) (/ 1 z))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
68×add-sqr-sqrt
63×*-un-lft-identity
55×times-frac
41×add-cube-cbrt
35×add-exp-log
34×associate-*r*
25×add-cbrt-cube
14×prod-exp
11×pow1 distribute-lft-out-- difference-of-squares
10×associate-/r*
cbrt-unprod
div-exp
associate-/r/ associate-/l*
cbrt-undiv
expm1-log1p-u associate-*l* pow-prod-down log1p-expm1-u div-inv add-log-exp
flip3-- flip--
rec-exp frac-2neg 1-exp associate-*r/ clear-num *-commutative unswap-sqr
un-div-inv
Counts
4 → 160
Calls
4 calls:
5.0ms
(/ t (- 1.0 z))
5.0ms
(/ t (- 1.0 z))
15.0ms
(* x (/ t (- 1.0 z)))
11.0ms
(* (* x y) (/ 1 z))

series145.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(/ t (- 1.0 z))
39.0ms
(/ t (- 1.0 z))
52.0ms
(* x (/ t (- 1.0 z)))
20.0ms
(* (* x y) (/ 1 z))

simplify82.0ms

Algorithm
egg-herbie
Counts
172 → 172
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
0589871
13008783
25001769

prune507.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0b

regimes214.0ms

Accuracy

23.7% (4.0b remaining)

Error of 4.1b against oracle of 0.0b and baseline of 5.3b

bsearch67.0ms

Steps
ItersRangePoint
9
-1.2817703453704203e-14
-2.1848537904953863e-22
-4.0985217869339084e-16

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04829
16629
26629

end0.0ms

sample1.0s

Algorithm
intervals
Results
755.0ms10081×body80valid