Details

Time bar (total: 7.3s)

sample42.0ms

Algorithm
intervals
Results
22.0ms256×body80valid

simplify100.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
013286
155778
2262241
3500141

prune28.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 29.6b

localize42.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (* x x) (* 2.0 0.0001789971))
0.5b
(* (* x x) 0.0001789971)
16.2b
(/ 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))))))
25.4b
(/ (+ (+ (* (* 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-+
71×associate-/r/
70×add-sqr-sqrt
69×add-cube-cbrt *-un-lft-identity
30×associate-/r*
28×add-exp-log add-cbrt-cube
21×pow1
14×associate-/l/
11×pow-prod-down prod-exp cbrt-unprod
div-inv associate-/l*
cbrt-undiv div-exp associate-*r* add-log-exp
frac-2neg associate-*l* clear-num *-commutative
unswap-sqr
Counts
4 → 222
Calls
4 calls:
10.0ms
(* (* x x) (* 2.0 0.0001789971))
7.0ms
(* (* x x) 0.0001789971)
428.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))))))
819.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)))))

series520.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* (* x x) (* 2.0 0.0001789971))
24.0ms
(* (* x x) 0.0001789971)
270.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))))))
200.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)))))

simplify164.0ms

Algorithm
egg-herbie
Counts
234 → 234
Iterations

Useful iterations: 1 (37.0ms)

IterNodesCost
0180614329
1500213828

prune2.5s

Filtered
234 candidates to 195 candidates (83.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite32.0ms

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

series166.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(* 0.17858401087518094 (pow x 4))
29.0ms
(* 0.6665536072 (pow x 2))
101.0ms
(/ x (+ (* 0.6665536072 (pow x 2)) (+ (* 0.17858401087518094 (pow x 4)) 1.0)))

simplify50.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0373587
11575537
25002534

prune188.0ms

Filtered
90 candidates to 61 candidates (67.8%)
Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite54.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)))
4.0ms
(/ 1 (pow x 5))
18.0ms
(* 0.2514179000665375 (/ 1 (pow x 3)))
5.0ms
(/ 1 (pow x 3))

series166.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(* 0.15298196345929327 (/ 1 (pow x 5)))
41.0ms
(/ 1 (pow x 5))
42.0ms
(* 0.2514179000665375 (/ 1 (pow x 3)))
31.0ms
(/ 1 (pow x 3))

simplify65.0ms

Algorithm
egg-herbie
Counts
271 → 271
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
06311208
13260888
25001888

prune431.0ms

Filtered
271 candidates to 122 candidates (45.0%)
Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes39.0ms

Accuracy

100% (0.0b remaining)

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

bsearch609.0ms

Steps
ItersRangePoint
8
48.29475874355119
356290.51007653365
1385.504960188588
10
-204248214.92732975
-1.534026600097144e-05
-12631963.70672206

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
010451
110451

end0.0ms

sample802.0ms

Algorithm
intervals
Results
697.0ms8000×body80valid