Details

Time bar (total: 4.5s)

sample30.0ms

Algorithm
intervals
Results
21.0ms256×body80valid

simplify133.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (6.0ms)

IterNodesCost
0319
1599
2909
31167
41307
51487
61887
72647
83047
93777
105807
118517
1214027
1327877
1431687
1543217
1650017

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (+ 2.30753 (* x 0.27061)) (+ 1.0 (* x (+ 0.99229 (* x 0.04481))))) x)
0.0b
(* 0.70711 (- (/ (+ 2.30753 (* x 0.27061)) (+ 1.0 (* x (+ 0.99229 (* x 0.04481))))) x))
0.1b
(* x (+ 0.99229 (* x 0.04481)))
13.9b
(/ (+ 2.30753 (* x 0.27061)) (+ 1.0 (* x (+ 0.99229 (* x 0.04481)))))

rewrite155.0ms

Algorithm
rewrite-expression-head
Rules
145×add-sqr-sqrt
135×*-un-lft-identity prod-diff
131×add-cube-cbrt
101×times-frac
48×distribute-rgt-in distribute-lft-in
22×associate-/r/
15×fma-neg
13×flip3-+ flip-+
11×div-inv
10×add-exp-log add-cbrt-cube
associate-*r*
pow1
associate-*l* add-log-exp
expm1-log1p-u associate-*r/ log1p-expm1-u difference-of-squares
sub-neg associate-/r* associate-/l*
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod associate-/l/ distribute-lft-out-- unswap-sqr
cbrt-undiv frac-2neg diff-log div-exp clear-num
Counts
4 → 253
Calls
4 calls:
41.0ms
(- (/ (+ 2.30753 (* x 0.27061)) (+ 1.0 (* x (+ 0.99229 (* x 0.04481))))) x)
83.0ms
(* 0.70711 (- (/ (+ 2.30753 (* x 0.27061)) (+ 1.0 (* x (+ 0.99229 (* x 0.04481))))) x))
7.0ms
(* x (+ 0.99229 (* x 0.04481)))
9.0ms
(/ (+ 2.30753 (* x 0.27061)) (+ 1.0 (* x (+ 0.99229 (* x 0.04481)))))

series317.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(- (/ (+ 2.30753 (* x 0.27061)) (+ 1.0 (* x (+ 0.99229 (* x 0.04481))))) x)
112.0ms
(* 0.70711 (- (/ (+ 2.30753 (* x 0.27061)) (+ 1.0 (* x (+ 0.99229 (* x 0.04481))))) x))
64.0ms
(* x (+ 0.99229 (* x 0.04481)))
56.0ms
(/ (+ 2.30753 (* x 0.27061)) (+ 1.0 (* x (+ 0.99229 (* x 0.04481)))))

simplify118.0ms

Algorithm
egg-herbie
Counts
265 → 265
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
07874964
132873903
250013630

prune430.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (* (/ 1 (sqrt (+ 1.0 (* x (+ 0.99229 (* x 0.04481)))))) (fma 0.27061 x 2.30753)) (sqrt (+ 1.0 (* x (+ 0.99229 (* x 0.04481))))))
0.2b
(/ 1 (sqrt (+ 1.0 (* x (+ 0.99229 (* x 0.04481))))))
13.8b
(sqrt (+ 1.0 (* x (+ 0.99229 (* x 0.04481)))))
13.8b
(sqrt (+ 1.0 (* x (+ 0.99229 (* x 0.04481)))))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
25×add-cube-cbrt *-un-lft-identity
24×times-frac sqrt-prod
23×add-exp-log
15×add-cbrt-cube
12×associate-/r*
div-exp
pow1 sqrt-div
cbrt-undiv
expm1-log1p-u flip3-+ prod-exp associate-/r/ flip-+ log1p-expm1-u associate-/l* add-log-exp
pow-flip sqrt-pow1 pow1/2
rem-sqrt-square rec-exp frac-2neg 1-exp clear-num cbrt-unprod div-inv
associate-*l/ associate-/l/ inv-pow
Counts
4 → 119
Calls
4 calls:
12.0ms
(/ (* (/ 1 (sqrt (+ 1.0 (* x (+ 0.99229 (* x 0.04481)))))) (fma 0.27061 x 2.30753)) (sqrt (+ 1.0 (* x (+ 0.99229 (* x 0.04481))))))
5.0ms
(/ 1 (sqrt (+ 1.0 (* x (+ 0.99229 (* x 0.04481))))))
3.0ms
(sqrt (+ 1.0 (* x (+ 0.99229 (* x 0.04481)))))
3.0ms
(sqrt (+ 1.0 (* x (+ 0.99229 (* x 0.04481)))))

series302.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(/ (* (/ 1 (sqrt (+ 1.0 (* x (+ 0.99229 (* x 0.04481)))))) (fma 0.27061 x 2.30753)) (sqrt (+ 1.0 (* x (+ 0.99229 (* x 0.04481))))))
98.0ms
(/ 1 (sqrt (+ 1.0 (* x (+ 0.99229 (* x 0.04481))))))
75.0ms
(sqrt (+ 1.0 (* x (+ 0.99229 (* x 0.04481)))))
73.0ms
(sqrt (+ 1.0 (* x (+ 0.99229 (* x 0.04481)))))

simplify74.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
05391572
126031392
250021259

prune440.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ 1 (pow (sqrt (+ 1.0 (* x (+ 0.99229 (* x 0.04481))))) 3))
13.8b
(sqrt (+ 1.0 (* x (+ 0.99229 (* x 0.04481)))))
13.8b
(sqrt (+ 1.0 (* x (+ 0.99229 (* x 0.04481)))))
19.1b
(cbrt (/ 1 (pow (sqrt (+ 1.0 (* x (+ 0.99229 (* x 0.04481))))) 3)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
108×times-frac
81×add-sqr-sqrt
79×add-cube-cbrt *-un-lft-identity
60×cbrt-prod
48×sqrt-prod
42×unpow-prod-down cube-prod
18×associate-/r*
13×add-exp-log
sqrt-div
cube-mult unpow3 sqr-pow
pow1 div-exp add-cbrt-cube
cube-div expm1-log1p-u flip3-+ associate-/r/ flip-+ log1p-expm1-u add-log-exp
pow-to-exp rec-exp 1-exp pow-exp associate-/l*
rem-sqrt-square sqrt-pow1 pow1/2 div-inv
cbrt-undiv cbrt-div pow-flip frac-2neg pow1/3 clear-num inv-pow
Counts
4 → 206
Calls
4 calls:
11.0ms
(/ 1 (pow (sqrt (+ 1.0 (* x (+ 0.99229 (* x 0.04481))))) 3))
5.0ms
(sqrt (+ 1.0 (* x (+ 0.99229 (* x 0.04481)))))
3.0ms
(sqrt (+ 1.0 (* x (+ 0.99229 (* x 0.04481)))))
8.0ms
(cbrt (/ 1 (pow (sqrt (+ 1.0 (* x (+ 0.99229 (* x 0.04481))))) 3)))

series385.0ms

Counts
4 → 12
Calls
4 calls:
132.0ms
(/ 1 (pow (sqrt (+ 1.0 (* x (+ 0.99229 (* x 0.04481))))) 3))
77.0ms
(sqrt (+ 1.0 (* x (+ 0.99229 (* x 0.04481)))))
77.0ms
(sqrt (+ 1.0 (* x (+ 0.99229 (* x 0.04481)))))
98.0ms
(cbrt (/ 1 (pow (sqrt (+ 1.0 (* x (+ 0.99229 (* x 0.04481))))) 3)))

simplify78.0ms

Algorithm
egg-herbie
Counts
218 → 218
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
06322978
128012441
250012430

prune560.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (+ 2.30753 (* x 0.27061)) (/ 1 (+ 1.0 (* x (+ 0.99229 (* x 0.04481))))) (- x))
0.0b
(* 0.70711 (fma (+ 2.30753 (* x 0.27061)) (/ 1 (+ 1.0 (* x (+ 0.99229 (* x 0.04481))))) (- x)))
0.1b
(* x (+ 0.99229 (* x 0.04481)))
0.3b
(/ 1 (+ 1.0 (* x (+ 0.99229 (* x 0.04481)))))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
16×add-cube-cbrt *-un-lft-identity
12×add-exp-log
10×add-cbrt-cube
pow1 times-frac
associate-*r* associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp
associate-/r* fma-udef associate-/l*
distribute-rgt-in distribute-lft-in flip3-+ associate-*r/ div-exp pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod flip-+ unswap-sqr
cbrt-undiv rec-exp pow-flip frac-2neg 1-exp clear-num div-inv inv-pow
Counts
4 → 91
Calls
4 calls:
0.0ms
(fma (+ 2.30753 (* x 0.27061)) (/ 1 (+ 1.0 (* x (+ 0.99229 (* x 0.04481))))) (- x))
3.0ms
(* 0.70711 (fma (+ 2.30753 (* x 0.27061)) (/ 1 (+ 1.0 (* x (+ 0.99229 (* x 0.04481))))) (- x)))
7.0ms
(* x (+ 0.99229 (* x 0.04481)))
4.0ms
(/ 1 (+ 1.0 (* x (+ 0.99229 (* x 0.04481)))))

series231.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(fma (+ 2.30753 (* x 0.27061)) (/ 1 (+ 1.0 (* x (+ 0.99229 (* x 0.04481))))) (- x))
69.0ms
(* 0.70711 (fma (+ 2.30753 (* x 0.27061)) (/ 1 (+ 1.0 (* x (+ 0.99229 (* x 0.04481))))) (- x)))
66.0ms
(* x (+ 0.99229 (* x 0.04481)))
41.0ms
(/ 1 (+ 1.0 (* x (+ 0.99229 (* x 0.04481)))))

simplify59.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0459899
11999745
25002703

prune266.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes20.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03823
14223
24323
34323

end0.0ms

sample775.0ms

Algorithm
intervals
Results
675.0ms8000×body80valid