Details

Time bar (total: 9.7s)

sample96.0ms

Algorithm
intervals
Results
23.0ms339×body80nan
11.0ms163×body80valid
10.0ms28×body1280valid
9.0ms32×body640valid
5.0ms15×body1280nan
5.0ms24×body320valid
4.0ms14×body640nan
3.0ms14×body320nan
1.0msbody160valid
1.0msbody160nan

simplify106.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (10.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: 44.9b

Counts
2 → 1

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (* (sqrt 2.0) t) (sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))))
0.4b
(* (sqrt 2.0) t)
11.8b
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
21.4b
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
13×sqrt-prod
12×add-cube-cbrt *-un-lft-identity
11×add-exp-log add-cbrt-cube
pow1
times-frac associate-*l* associate-/r* add-log-exp
expm1-log1p-u sqrt-div log1p-expm1-u
flip3-- associate-*r* flip--
cbrt-undiv div-exp prod-exp associate--l+ associate-/r/ cbrt-unprod unswap-sqr
distribute-rgt-in sub-neg rem-sqrt-square frac-2neg distribute-lft-in sqrt-pow1 pow1/2 fma-neg diff-log prod-diff pow-prod-down clear-num *-commutative div-inv associate-/l*
Counts
4 → 90
Calls
4 calls:
17.0ms
(/ (* (sqrt 2.0) t) (sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))))
5.0ms
(* (sqrt 2.0) t)
14.0ms
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
15.0ms
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

series1.8s

Counts
4 → 12
Calls
4 calls:
428.0ms
(/ (* (sqrt 2.0) t) (sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))))
39.0ms
(* (sqrt 2.0) t)
209.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)))

simplify65.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
04461290
122061177
250021172

prune346.0ms

Filtered
102 candidates to 75 candidates (73.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New966102
Fresh000
Picked101
Done000
Total976103

Merged error: 6.4b

Counts
103 → 6

localize17.0ms

Local error

Found 4 expressions with local error:

4.6b
(/ (pow l 2) x)
5.6b
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x))))
10.0b
(/ (pow t 2) x)
30.0b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x)))))

rewrite16.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:
5.0ms
(/ (pow l 2) x)
1.0ms
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 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)))))

series370.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0377837
11450724
25001715

prune434.0ms

Filtered
139 candidates to 96 candidates (69.1%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1345139
Fresh055
Picked101
Done000
Total13510145

Merged error: 4.6b

Counts
145 → 10

localize24.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt x) (cbrt x))
5.6b
(fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x))))
10.0b
(/ (pow t 2) x)
30.0b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x)))))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt
30×add-cube-cbrt *-un-lft-identity
24×times-frac
16×cbrt-prod
12×pow1 unpow-prod-down
11×add-exp-log
associate-/l*
pow1/3 swap-sqr associate-*r* associate-*l* add-cbrt-cube
expm1-log1p-u log1p-expm1-u unpow2 add-log-exp unswap-sqr sqr-pow
div-exp associate-/r* sqrt-prod
pow-prod-down pow-sqr pow-prod-up
cbrt-undiv pow2 pow-to-exp rem-sqrt-square frac-2neg sqrt-pow1 pow-plus pow1/2 pow-exp prod-exp clear-num *-commutative cbrt-unprod fma-udef div-inv
Counts
4 → 118
Calls
4 calls:
6.0ms
(* (cbrt x) (cbrt x))
1.0ms
(fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 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 (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x)))))

series587.0ms

Counts
4 → 12
Calls
4 calls:
201.0ms
(* (cbrt x) (cbrt x))
84.0ms
(fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x))))
18.0ms
(/ (pow t 2) x)
284.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x)))))

simplify48.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0363893
11416796
25001770

prune443.0ms

Filtered
130 candidates to 90 candidates (69.2%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1291130
Fresh099
Picked011
Done000
Total12911140

Merged error: 4.6b

Counts
140 → 11

localize27.0ms

Local error

Found 4 expressions with local error:

30.0b
(sqrt (* (* (cbrt (fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x))))) (cbrt (fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x)))))) (cbrt (fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x)))))))
30.9b
(cbrt (fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x)))))
30.9b
(cbrt (fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x)))))
30.9b
(cbrt (fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x)))))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
24×pow1
15×sqrt-pow1
12×pow1/3
cbrt-prod pow-prod-up
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-plus
pow-prod-down
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-sqr
pow2
pow1/2 pow3 sqrt-prod
Counts
4 → 65
Calls
4 calls:
7.0ms
(sqrt (* (* (cbrt (fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x))))) (cbrt (fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x)))))) (cbrt (fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x)))))))
1.0ms
(cbrt (fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x)))))
1.0ms
(cbrt (fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x)))))
1.0ms
(cbrt (fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x)))))

series1.0s

Counts
4 → 12
Calls
4 calls:
288.0ms
(sqrt (* (* (cbrt (fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x))))) (cbrt (fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x)))))) (cbrt (fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x)))))))
228.0ms
(cbrt (fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x)))))
251.0ms
(cbrt (fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x)))))
236.0ms
(cbrt (fma 2.0 (pow t 2) (fma 2.0 (* (/ l (* (cbrt x) (cbrt x))) (/ l (cbrt x))) (* 4.0 (/ (pow t 2) x)))))

simplify169.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 3 (148.0ms)

IterNodesCost
02591636
18201498
243261398
350011392

prune343.0ms

Filtered
77 candidates to 62 candidates (80.5%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New77077
Fresh099
Picked011
Done011
Total771188

Merged error: 4.6b

Counts
88 → 11

regimes475.0ms

Accuracy

75.8% (5.8b remaining)

Error of 9.5b against oracle of 3.7b and baseline of 27.8b

bsearch482.0ms

Steps
ItersRangePoint
9
1.3146782014653472e+94
2.2549696368179095e+99
2.771748845321087e+98
5
1.4318730439593602e-216
4.0711342710850435e-216
2.5468123883314033e-216
9
-2.974695126671388e-299
-2.4643609579596305e-304
-2.4944316805165755e-304
8
-1.132161819823307e+80
-4.2334860278696157e+77
-1.0479409207087712e+80

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06097
16397
26697
36697

end0.0ms

sample2.7s

Algorithm
intervals
Results
695.0ms9971×body80nan
366.0ms5224×body80valid
264.0ms799×body1280valid
257.0ms985×body640valid
195.0ms573×body1280nan
150.0ms578×body640nan
127.0ms637×body320valid
67.0ms347×body320nan
47.0ms355×body160valid
25.0ms190×body160nan