Details

Time bar (total: 20.5s)

sample43.0ms

Algorithm
intervals
Results
23.0ms256×body80valid

simplify100.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
013286
155778
2262241
3500141

prune29.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 30.4b

localize41.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 0.2909738639 (* x x))
0.1b
(* 0.1049934947 (* x x))
17.1b
(/ x (/ (+ (+ (* (* x (* (pow (* x x) 3) (pow x 3))) (+ 0.0008327945 (* (* x x) (* 2.0 0.0001789971)))) (+ (* (* x x) (+ 0.7715471019 (* 0.2909738639 (* x x)))) 1.0)) (* (pow x 6) (+ 0.0694555761 (* (* x x) 0.0140005442)))) (+ (+ (* (pow (* x x) 4) (+ 0.0005064034 (* (* x x) 0.0001789971))) (+ 1.0 (* 0.1049934947 (* x x)))) (* (pow x 4) (+ 0.0424060604 (* (* x x) 0.0072644182))))))
26.0b
(/ (+ (+ (* (* x (* (pow (* x x) 3) (pow x 3))) (+ 0.0008327945 (* (* x x) (* 2.0 0.0001789971)))) (+ (* (* x x) (+ 0.7715471019 (* 0.2909738639 (* x x)))) 1.0)) (* (pow x 6) (+ 0.0694555761 (* (* x x) 0.0140005442)))) (+ (+ (* (pow (* x x) 4) (+ 0.0005064034 (* (* x x) 0.0001789971))) (+ 1.0 (* 0.1049934947 (* x x)))) (* (pow x 4) (+ 0.0424060604 (* (* x x) 0.0072644182)))))

rewrite1.3s

Algorithm
rewrite-expression-head
Rules
126×times-frac
120×associate-*r/ frac-add
102×flip3-+ flip-+
72×add-sqr-sqrt
71×associate-/r/
70×add-cube-cbrt *-un-lft-identity
30×associate-/r*
21×add-exp-log add-cbrt-cube
14×pow1 associate-/l/
associate-*l* pow-prod-down prod-exp cbrt-unprod div-inv associate-/l*
cbrt-undiv div-exp add-log-exp
frac-2neg associate-*r* clear-num *-commutative unswap-sqr
Counts
4 → 219
Calls
4 calls:
6.0ms
(* 0.2909738639 (* x x))
8.0ms
(* 0.1049934947 (* x x))
427.0ms
(/ x (/ (+ (+ (* (* x (* (pow (* x x) 3) (pow x 3))) (+ 0.0008327945 (* (* x x) (* 2.0 0.0001789971)))) (+ (* (* x x) (+ 0.7715471019 (* 0.2909738639 (* x x)))) 1.0)) (* (pow x 6) (+ 0.0694555761 (* (* x x) 0.0140005442)))) (+ (+ (* (pow (* x x) 4) (+ 0.0005064034 (* (* x x) 0.0001789971))) (+ 1.0 (* 0.1049934947 (* x x)))) (* (pow x 4) (+ 0.0424060604 (* (* x x) 0.0072644182))))))
816.0ms
(/ (+ (+ (* (* x (* (pow (* x x) 3) (pow x 3))) (+ 0.0008327945 (* (* x x) (* 2.0 0.0001789971)))) (+ (* (* x x) (+ 0.7715471019 (* 0.2909738639 (* x x)))) 1.0)) (* (pow x 6) (+ 0.0694555761 (* (* x x) 0.0140005442)))) (+ (+ (* (pow (* x x) 4) (+ 0.0005064034 (* (* x x) 0.0001789971))) (+ 1.0 (* 0.1049934947 (* x x)))) (* (pow x 4) (+ 0.0424060604 (* (* x x) 0.0072644182)))))

series534.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* 0.2909738639 (* x x))
25.0ms
(* 0.1049934947 (* x x))
276.0ms
(/ x (/ (+ (+ (* (* x (* (pow (* x x) 3) (pow x 3))) (+ 0.0008327945 (* (* x x) (* 2.0 0.0001789971)))) (+ (* (* x x) (+ 0.7715471019 (* 0.2909738639 (* x x)))) 1.0)) (* (pow x 6) (+ 0.0694555761 (* (* x x) 0.0140005442)))) (+ (+ (* (pow (* x x) 4) (+ 0.0005064034 (* (* x x) 0.0001789971))) (+ 1.0 (* 0.1049934947 (* x x)))) (* (pow x 4) (+ 0.0424060604 (* (* x x) 0.0072644182))))))
209.0ms
(/ (+ (+ (* (* x (* (pow (* x x) 3) (pow x 3))) (+ 0.0008327945 (* (* x x) (* 2.0 0.0001789971)))) (+ (* (* x x) (+ 0.7715471019 (* 0.2909738639 (* x x)))) 1.0)) (* (pow x 6) (+ 0.0694555761 (* (* x x) 0.0140005442)))) (+ (+ (* (pow (* x x) 4) (+ 0.0005064034 (* (* x x) 0.0001789971))) (+ 1.0 (* 0.1049934947 (* x x)))) (* (pow x 4) (+ 0.0424060604 (* (* x x) 0.0072644182)))))

simplify161.0ms

Algorithm
egg-herbie
Counts
231 → 231
Iterations

Useful iterations: 1 (36.0ms)

IterNodesCost
0176914287
1500313788

prune2.5s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 0.6665536072 (pow x 2)) (+ (* 0.17858401087518094 (pow x 4)) 1.0))
0.1b
(* 0.17858401087518094 (pow x 4))
0.1b
(* 0.6665536072 (pow x 2))
2.0b
(/ x (+ (* 0.6665536072 (pow x 2)) (+ (* 0.17858401087518094 (pow x 4)) 1.0)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
18×add-cube-cbrt *-un-lft-identity
16×add-exp-log
15×associate-*r*
10×add-cbrt-cube
times-frac add-log-exp
unpow-prod-down
unswap-sqr
associate-*l* prod-exp
pow1 sqr-pow
associate-/r* sum-log associate-/l*
pow-to-exp flip3-+ pow-exp associate-/r/ *-commutative cbrt-unprod flip-+ unpow2
cbrt-undiv +-commutative associate-+r+ frac-2neg div-exp clear-num div-inv
Counts
4 → 94
Calls
4 calls:
9.0ms
(+ (* 0.6665536072 (pow x 2)) (+ (* 0.17858401087518094 (pow x 4)) 1.0))
5.0ms
(* 0.17858401087518094 (pow x 4))
5.0ms
(* 0.6665536072 (pow x 2))
18.0ms
(/ x (+ (* 0.6665536072 (pow x 2)) (+ (* 0.17858401087518094 (pow x 4)) 1.0)))

series218.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(+ (* 0.6665536072 (pow x 2)) (+ (* 0.17858401087518094 (pow x 4)) 1.0))
36.0ms
(* 0.17858401087518094 (pow x 4))
25.0ms
(* 0.6665536072 (pow x 2))
109.0ms
(/ x (+ (* 0.6665536072 (pow x 2)) (+ (* 0.17858401087518094 (pow x 4)) 1.0)))

simplify53.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0407737
11700673
25001670

prune230.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize45.0ms

Local error

Found 4 expressions with local error:

0.2b
(* 0.0694555761 (* (* (* x x) (* x x)) (* x x)))
0.2b
(* 0.0072644182 (* (* (* x x) (* x x)) (* x x)))
17.0b
(* (/ (+ (+ (+ (+ (+ 1.0 (* 0.1049934947 (* x x))) (* 0.0424060604 (* (* x x) (* x x)))) (* 0.0072644182 (* (* (* x x) (* x x)) (* x x)))) (* 0.0005064034 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))) (* 0.0001789971 (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)))) (+ (+ (+ (+ (+ (+ 1.0 (* 0.7715471019 (* x x))) (* 0.2909738639 (* (* x x) (* x x)))) (* 0.0694555761 (* (* (* x x) (* x x)) (* x x)))) (* 0.0140005442 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))) (* 0.0008327945 (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)))) (* (* 2.0 0.0001789971) (* (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)) (* x x))))) x)
29.8b
(/ (+ (+ (+ (+ (+ 1.0 (* 0.1049934947 (* x x))) (* 0.0424060604 (* (* x x) (* x x)))) (* 0.0072644182 (* (* (* x x) (* x x)) (* x x)))) (* 0.0005064034 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))) (* 0.0001789971 (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)))) (+ (+ (+ (+ (+ (+ 1.0 (* 0.7715471019 (* x x))) (* 0.2909738639 (* (* x x) (* x x)))) (* 0.0694555761 (* (* (* x x) (* x x)) (* x x)))) (* 0.0140005442 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))) (* 0.0008327945 (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)))) (* (* 2.0 0.0001789971) (* (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)) (* x x)))))

rewrite11.4s

Algorithm
rewrite-expression-head
Rules
117×add-exp-log add-cbrt-cube
112×pow1
86×prod-exp cbrt-unprod
85×pow-prod-down
27×add-sqr-sqrt
22×add-cube-cbrt *-un-lft-identity
21×associate-*l*
19×times-frac
associate-*r*
associate-/r/ add-log-exp
flip3-+ associate-/r* *-commutative flip-+ associate-/l*
cbrt-undiv div-exp div-inv associate-/l/ unswap-sqr
frac-2neg associate-*l/ clear-num
Counts
4 → 155
Calls
4 calls:
213.0ms
(* 0.0694555761 (* (* (* x x) (* x x)) (* x x)))
213.0ms
(* 0.0072644182 (* (* (* x x) (* x x)) (* x x)))
6.9s
(* (/ (+ (+ (+ (+ (+ 1.0 (* 0.1049934947 (* x x))) (* 0.0424060604 (* (* x x) (* x x)))) (* 0.0072644182 (* (* (* x x) (* x x)) (* x x)))) (* 0.0005064034 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))) (* 0.0001789971 (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)))) (+ (+ (+ (+ (+ (+ 1.0 (* 0.7715471019 (* x x))) (* 0.2909738639 (* (* x x) (* x x)))) (* 0.0694555761 (* (* (* x x) (* x x)) (* x x)))) (* 0.0140005442 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))) (* 0.0008327945 (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)))) (* (* 2.0 0.0001789971) (* (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)) (* x x))))) x)
4.0s
(/ (+ (+ (+ (+ (+ 1.0 (* 0.1049934947 (* x x))) (* 0.0424060604 (* (* x x) (* x x)))) (* 0.0072644182 (* (* (* x x) (* x x)) (* x x)))) (* 0.0005064034 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))) (* 0.0001789971 (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)))) (+ (+ (+ (+ (+ (+ 1.0 (* 0.7715471019 (* x x))) (* 0.2909738639 (* (* x x) (* x x)))) (* 0.0694555761 (* (* (* x x) (* x x)) (* x x)))) (* 0.0140005442 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))) (* 0.0008327945 (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)))) (* (* 2.0 0.0001789971) (* (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)) (* x x)))))

series581.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(* 0.0694555761 (* (* (* x x) (* x x)) (* x x)))
54.0ms
(* 0.0072644182 (* (* (* x x) (* x x)) (* x x)))
271.0ms
(* (/ (+ (+ (+ (+ (+ 1.0 (* 0.1049934947 (* x x))) (* 0.0424060604 (* (* x x) (* x x)))) (* 0.0072644182 (* (* (* x x) (* x x)) (* x x)))) (* 0.0005064034 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))) (* 0.0001789971 (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)))) (+ (+ (+ (+ (+ (+ 1.0 (* 0.7715471019 (* x x))) (* 0.2909738639 (* (* x x) (* x x)))) (* 0.0694555761 (* (* (* x x) (* x x)) (* x x)))) (* 0.0140005442 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))) (* 0.0008327945 (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)))) (* (* 2.0 0.0001789971) (* (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)) (* x x))))) x)
208.0ms
(/ (+ (+ (+ (+ (+ 1.0 (* 0.1049934947 (* x x))) (* 0.0424060604 (* (* x x) (* x x)))) (* 0.0072644182 (* (* (* x x) (* x x)) (* x x)))) (* 0.0005064034 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))) (* 0.0001789971 (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)))) (+ (+ (+ (+ (+ (+ 1.0 (* 0.7715471019 (* x x))) (* 0.2909738639 (* (* x x) (* x x)))) (* 0.0694555761 (* (* (* x x) (* x x)) (* x x)))) (* 0.0140005442 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))) (* 0.0008327945 (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)))) (* (* 2.0 0.0001789971) (* (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)) (* x x)))))

simplify169.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (105.0ms)

IterNodesCost
09088328
140766741
250016540

prune994.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 0.15298196345929327 (/ 1 (pow x 5)))
0.1b
(* 0.2514179000665375 (/ 1 (pow x 3)))
0.3b
(/ 1 (pow x 5))
0.4b
(/ 1 (pow x 3))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
128×times-frac
118×add-sqr-sqrt
90×*-un-lft-identity
83×add-cube-cbrt
65×associate-*r*
62×add-exp-log
46×unpow-prod-down
24×div-exp
23×cube-prod
20×prod-exp
19×associate-/r*
18×add-cbrt-cube sqr-pow
16×unswap-sqr
12×pow-to-exp rec-exp 1-exp pow-exp
pow1
cube-mult unpow3
associate-*l* associate-/l*
cbrt-undiv cbrt-unprod div-inv add-log-exp
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv *-commutative inv-pow
Counts
4 → 259
Calls
4 calls:
17.0ms
(* 0.15298196345929327 (/ 1 (pow x 5)))
18.0ms
(* 0.2514179000665375 (/ 1 (pow x 3)))
4.0ms
(/ 1 (pow x 5))
5.0ms
(/ 1 (pow x 3))

series169.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(* 0.15298196345929327 (/ 1 (pow x 5)))
36.0ms
(* 0.2514179000665375 (/ 1 (pow x 3)))
49.0ms
(/ 1 (pow x 5))
32.0ms
(/ 1 (pow x 3))

simplify64.0ms

Algorithm
egg-herbie
Counts
271 → 271
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
06311208
13260888
25001888

prune433.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

regimes92.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch477.0ms

Steps
ItersRangePoint
10
13.582308112339199
112933556595576.11
704.223327609076
10
-8.110240356876969e+23
-16633526390.965715
-2.9751928008643206e+22

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
010451
110451

end0.0ms

sample829.0ms

Algorithm
intervals
Results
722.0ms8000×body80valid