Details

Time bar (total: 7.3s)

sample81.0ms

Algorithm
intervals
Results
14.0ms290×body80nan
9.0ms34×body1280valid
9.0ms17×body320valid
8.0ms156×body80valid
8.0ms39×body640valid
4.0ms18×body1280nan
3.0ms14×body640nan
1.0ms10×body320nan
1.0ms10×body160valid
0.0msbody160nan

simplify96.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
04114
110114
223414
352514
4101614
5170114
6362614
7500214

prune5.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 46.0b

Counts
2 → 1

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 2.0 (* t t))
0.4b
(* (sqrt 2.0) t)
11.6b
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
21.0b
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
12×pow1
11×add-exp-log add-cbrt-cube
add-cube-cbrt *-un-lft-identity associate-*l*
sqrt-prod
add-log-exp
expm1-log1p-u associate-*r* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
unswap-sqr
flip3-- sqrt-div associate--l+ *-commutative flip--
distribute-rgt-in sub-neg rem-sqrt-square distribute-lft-in sqrt-pow1 pow1/2 fma-neg diff-log prod-diff
Counts
4 → 80
Calls
4 calls:
6.0ms
(* 2.0 (* t t))
12.0ms
(* (sqrt 2.0) t)
14.0ms
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
16.0ms
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

series1.4s

Counts
4 → 12
Calls
4 calls:
24.0ms
(* 2.0 (* t t))
43.0ms
(* (sqrt 2.0) t)
212.0ms
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
1.2s
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

simplify57.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0426771
12000710
25002707

prune307.0ms

Filtered
92 candidates to 69 candidates (75.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New87592
Fresh000
Picked101
Done000
Total88593

Merged error: 5.5b

Counts
93 → 5

localize17.0ms

Local error

Found 4 expressions with local error:

4.6b
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x))))
6.5b
(/ (pow l 2) x)
11.2b
(/ (pow t 2) x)
26.0b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x)))))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
48×times-frac
40×add-sqr-sqrt
39×add-cube-cbrt *-un-lft-identity
24×unpow-prod-down
16×associate-/l*
14×add-exp-log
add-cbrt-cube unpow2 sqr-pow
div-exp associate-/r*
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
sqrt-prod
cbrt-undiv pow-to-exp frac-2neg pow-exp clear-num div-inv
rem-sqrt-square sqrt-pow1 pow1/2 fma-udef
Counts
4 → 127
Calls
4 calls:
1.0ms
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x))))
5.0ms
(/ (pow l 2) x)
5.0ms
(/ (pow t 2) x)
2.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x)))))

series375.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x))))
18.0ms
(/ (pow l 2) x)
23.0ms
(/ (pow t 2) x)
265.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x)))))

simplify48.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0377811
11351724
25001715

prune443.0ms

Filtered
139 candidates to 96 candidates (69.1%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1309139
Fresh134
Picked101
Done000
Total13212144

Merged error: 3.1b

Counts
144 → 12

localize16.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (sqrt 2.0) t)
4.6b
(fma 2.0 (pow t 2) (fma 2.0 (/ l (/ x l)) (* 4.0 (/ (pow t 2) x))))
11.2b
(/ (pow t 2) x)
26.0b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ l (/ x l)) (* 4.0 (/ (pow t 2) x)))))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
25×add-cube-cbrt *-un-lft-identity
24×times-frac
12×unpow-prod-down
11×add-exp-log
add-cbrt-cube associate-/l*
pow1 sqrt-prod
associate-*l*
expm1-log1p-u log1p-expm1-u unpow2 add-log-exp sqr-pow
div-exp associate-*r* associate-/r*
unswap-sqr
cbrt-undiv pow-to-exp rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 pow-prod-down pow-exp prod-exp clear-num *-commutative cbrt-unprod fma-udef div-inv
Counts
4 → 100
Calls
4 calls:
5.0ms
(* (sqrt 2.0) t)
1.0ms
(fma 2.0 (pow t 2) (fma 2.0 (/ l (/ x l)) (* 4.0 (/ (pow t 2) x))))
5.0ms
(/ (pow t 2) x)
2.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ l (/ x l)) (* 4.0 (/ (pow t 2) x)))))

series392.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(* (sqrt 2.0) t)
68.0ms
(fma 2.0 (pow t 2) (fma 2.0 (/ l (/ x l)) (* 4.0 (/ (pow t 2) x))))
18.0ms
(/ (pow t 2) x)
262.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ l (/ x l)) (* 4.0 (/ (pow t 2) x)))))

simplify45.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0322653
11220592
25001586

prune345.0ms

Filtered
112 candidates to 77 candidates (68.8%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1075112
Fresh3811
Picked101
Done000
Total11113124

Merged error: 3.1b

Counts
124 → 13

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0))) (* (cbrt (sqrt 2.0)) t))
4.6b
(fma 2.0 (pow t 2) (fma 2.0 (/ l (/ x l)) (* 4.0 (/ (pow t 2) x))))
11.2b
(/ (pow t 2) x)
26.0b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ l (/ x l)) (* 4.0 (/ (pow t 2) x)))))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
24×times-frac
23×add-sqr-sqrt
22×add-cube-cbrt *-un-lft-identity
21×add-exp-log
17×pow1
12×unpow-prod-down add-cbrt-cube
pow-prod-down prod-exp cbrt-unprod associate-/l*
expm1-log1p-u log1p-expm1-u unpow2 add-log-exp sqr-pow
div-exp associate-/r* sqrt-prod
cbrt-undiv pow-to-exp rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 associate-*r* associate-*l* pow-exp clear-num *-commutative fma-udef div-inv
Counts
4 → 100
Calls
4 calls:
14.0ms
(* (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0))) (* (cbrt (sqrt 2.0)) t))
1.0ms
(fma 2.0 (pow t 2) (fma 2.0 (/ l (/ x l)) (* 4.0 (/ (pow t 2) x))))
5.0ms
(/ (pow t 2) x)
2.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ l (/ x l)) (* 4.0 (/ (pow t 2) x)))))

series390.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(* (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0))) (* (cbrt (sqrt 2.0)) t))
69.0ms
(fma 2.0 (pow t 2) (fma 2.0 (/ l (/ x l)) (* 4.0 (/ (pow t 2) x))))
18.0ms
(/ (pow t 2) x)
259.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ l (/ x l)) (* 4.0 (/ (pow t 2) x)))))

simplify50.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0372843
11378691
25001641

prune328.0ms

Filtered
112 candidates to 75 candidates (67.0%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New1102112
Fresh01212
Picked011
Done000
Total11015125

Merged error: 3.1b

Counts
125 → 15

regimes504.0ms

Accuracy

76.4% (5.6b remaining)

Error of 9.5b against oracle of 4.0b and baseline of 27.6b

bsearch166.0ms

Steps
ItersRangePoint
7
4.66672291718026e+112
2.0149363774898057e+114
2.73399322366565e+113
8
-1.926231611387388e+107
-1.3242389852366133e+104
-2.2428515898097766e+105

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05851
17751
27851
37851

end0.0ms

sample2.1s

Algorithm
intervals
Results
498.0ms9992×body80nan
258.0ms5102×body80valid
217.0ms874×body1280valid
207.0ms1026×body640valid
138.0ms576×body1280nan
115.0ms609×body640nan
89.0ms604×body320valid
46.0ms329×body320nan
45.0ms394×body160valid
21.0ms201×body160nan