Details

Time bar (total: 4.1s)

sample22.0ms

Algorithm
intervals
Results
10.0ms271×body80valid

simplify71.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0258
1398
2648
31158
42078
54658
613378
750018

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 7.3b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* y z) x)
0.0b
(- (* t z) x)
0.3b
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
9.2b
(/ (- (* y z) x) (- (* t z) x))

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
44×*-un-lft-identity
25×times-frac
24×add-sqr-sqrt add-cube-cbrt
10×distribute-lft-out
add-exp-log add-cbrt-cube add-log-exp
associate-/r* associate-/l*
prod-diff
pow1 expm1-log1p-u flip3-- associate-/r/ flip-- log1p-expm1-u associate-/l/
div-sub
cbrt-undiv sub-neg frac-2neg flip3-+ fma-neg diff-log div-exp clear-num flip-+ div-inv
associate-+r-
Counts
4 → 113
Calls
4 calls:
3.0ms
(- (* y z) x)
3.0ms
(- (* t z) x)
59.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
12.0ms
(/ (- (* y z) x) (- (* t z) x))

series244.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(- (* y z) x)
26.0ms
(- (* t z) x)
129.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
65.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify84.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
04621042
12015941
25001941

prune353.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.3b

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (fma (/ y (- (* t z) x)) z x) (* (+ x 1.0) 1))
2.6b
(fma (/ y (- (* t z) x)) z x)
2.7b
(/ x (- (* t z) x))
3.6b
(/ y (- (* t z) x))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
21×times-frac
15×add-exp-log
13×add-cbrt-cube
associate-/l*
associate-/r*
associate-/r/
div-exp
pow1 cbrt-undiv expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num div-inv
flip3-- associate-*l/ prod-exp flip--
flip3-+ 1-exp cbrt-unprod flip-+ fma-udef
Counts
4 → 98
Calls
4 calls:
5.0ms
(/ (fma (/ y (- (* t z) x)) z x) (* (+ x 1.0) 1))
0.0ms
(fma (/ y (- (* t z) x)) z x)
5.0ms
(/ x (- (* t z) x))
6.0ms
(/ y (- (* t z) x))

series255.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(/ (fma (/ y (- (* t z) x)) z x) (* (+ x 1.0) 1))
63.0ms
(fma (/ y (- (* t z) x)) z x)
68.0ms
(/ x (- (* t z) x))
32.0ms
(/ y (- (* t z) x))

simplify68.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0423735
11590652
25001650

prune394.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.3b

localize15.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (fma (/ y (- (* t z) x)) z x) (/ 1 (+ x 1.0)))
2.6b
(fma (/ y (- (* t z) x)) z x)
2.7b
(/ x (- (* t z) x))
3.6b
(/ y (- (* t z) x))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt *-un-lft-identity
32×times-frac
29×add-cube-cbrt
18×associate-*r*
17×add-exp-log
13×add-cbrt-cube
pow1 associate-/r* associate-/r/ associate-/l*
expm1-log1p-u div-exp prod-exp log1p-expm1-u add-log-exp
cbrt-undiv associate-*l* div-inv distribute-lft-out unswap-sqr
flip3-- frac-2neg clear-num flip-- cbrt-unprod
rec-exp flip3-+ 1-exp associate-*r/ pow-prod-down un-div-inv *-commutative flip-+ fma-udef
Counts
4 → 115
Calls
4 calls:
21.0ms
(* (fma (/ y (- (* t z) x)) z x) (/ 1 (+ x 1.0)))
0.0ms
(fma (/ y (- (* t z) x)) z x)
6.0ms
(/ x (- (* t z) x))
5.0ms
(/ y (- (* t z) x))

series259.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(* (fma (/ y (- (* t z) x)) z x) (/ 1 (+ x 1.0)))
57.0ms
(fma (/ y (- (* t z) x)) z x)
70.0ms
(/ x (- (* t z) x))
32.0ms
(/ y (- (* t z) x))

simplify75.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
0484887
11964788
25002772

prune438.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.3b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* t z) x)
0.3b
(/ (+ x (* (- (* y z) x) (/ 1 (- (* t z) x)))) (+ x 1.0))
0.6b
(/ 1 (- (* t z) x))
9.0b
(* (- (* y z) x) (/ 1 (- (* t z) x)))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
39×*-un-lft-identity
37×add-sqr-sqrt
32×times-frac
30×add-cube-cbrt
19×add-exp-log
15×associate-*r*
13×add-cbrt-cube
pow1 associate-/r*
associate-/r/ associate-/l* add-log-exp
flip3-- div-exp flip--
expm1-log1p-u prod-exp log1p-expm1-u distribute-lft-out
cbrt-undiv associate-*l* prod-diff div-inv unswap-sqr
frac-times rec-exp frac-2neg flip3-+ 1-exp associate-*l/ clear-num cbrt-unprod flip-+ associate-/l/
sub-neg pow-flip fma-neg diff-log associate-*r/ pow-prod-down un-div-inv *-commutative inv-pow
Counts
4 → 134
Calls
4 calls:
3.0ms
(- (* t z) x)
11.0ms
(/ (+ x (* (- (* y z) x) (/ 1 (- (* t z) x)))) (+ x 1.0))
6.0ms
(/ 1 (- (* t z) x))
28.0ms
(* (- (* y z) x) (/ 1 (- (* t z) x)))

series253.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(- (* t z) x)
135.0ms
(/ (+ x (* (- (* y z) x) (/ 1 (- (* t z) x)))) (+ x 1.0))
32.0ms
(/ 1 (- (* t z) x))
60.0ms
(* (- (* y z) x) (/ 1 (- (* t z) x)))

simplify107.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
05231207
124771067
250011035

prune399.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.3b

regimes200.0ms

Accuracy

21.7% (3.6b remaining)

Error of 4.0b against oracle of 0.4b and baseline of 4.9b

bsearch138.0ms

Steps
ItersRangePoint
10
3.834310103320632e-130
5.053960524943526e-111
1.1968368447568313e-126
8
-2.153946256213856e-220
-3.431816103547695e-225
-5.9269626952441295e-223

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03922
13922

end0.0ms

sample534.0ms

Algorithm
intervals
Results
323.0ms8304×body80valid