Details

Time bar (total: 8.3s)

sample84.0ms

Algorithm
intervals
Results
16.0ms157×body80valid
15.0ms310×body80nan
7.0ms29×body1280valid
6.0ms30×body640valid
6.0ms24×body1280nan
5.0ms28×body640nan
3.0ms18×body320valid
2.0ms22×body160valid
1.0msbody320nan
0.0msbody160nan

simplify94.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
04114
110114
223414
352514
4101614
5170114
6362614
7500214

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 43.3b

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)
14.1b
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
21.3b
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

rewrite75.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:
24.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)
18.0ms
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
24.0ms
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

series1.8s

Counts
4 → 12
Calls
4 calls:
422.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)
217.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)))

simplify62.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04461291
122061177
250021172

prune351.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 5.7b

localize18.0ms

Local error

Found 4 expressions with local error:

2.4b
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x))))
8.1b
(/ (pow l 2) x)
9.6b
(/ (pow t 2) x)
26.5b
(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:
0.0ms
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x))))
4.0ms
(/ (pow l 2) x)
4.0ms
(/ (pow t 2) x)
4.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x)))))

series372.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l 2) x) (* 4.0 (/ (pow t 2) x))))
19.0ms
(/ (pow l 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)))))

simplify43.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0377811
11351724
25001715

prune475.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 3.3b

localize18.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (sqrt 2.0) t)
2.4b
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l (/ 2 2)) (/ x l)) (* 4.0 (/ (pow t 2) x))))
9.6b
(/ (pow t 2) x)
26.5b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ (pow l (/ 2 2)) (/ x l)) (* 4.0 (/ (pow t 2) x)))))

rewrite13.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)
0.0ms
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l (/ 2 2)) (/ x l)) (* 4.0 (/ (pow t 2) x))))
4.0ms
(/ (pow t 2) x)
1.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ (pow l (/ 2 2)) (/ x l)) (* 4.0 (/ (pow t 2) x)))))

series392.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(* (sqrt 2.0) t)
64.0ms
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l (/ 2 2)) (/ x l)) (* 4.0 (/ (pow t 2) x))))
23.0ms
(/ (pow t 2) x)
261.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ (pow l (/ 2 2)) (/ x l)) (* 4.0 (/ (pow t 2) x)))))

simplify40.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0325722
11269642
25001632

prune392.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 3.3b

localize23.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (* (sqrt 2.0) t)) (cbrt (* (sqrt 2.0) t)))
2.4b
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l (/ 2 2)) (/ x l)) (* 4.0 (/ (pow t 2) x))))
9.6b
(/ (pow t 2) x)
26.5b
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ (pow l (/ 2 2)) (/ x l)) (* 4.0 (/ (pow t 2) x)))))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
26×add-cube-cbrt *-un-lft-identity
24×times-frac
12×pow1 unpow-prod-down
11×add-exp-log
associate-/l*
pow1/3 add-cbrt-cube
cbrt-prod expm1-log1p-u swap-sqr associate-*r* associate-*l* log1p-expm1-u unpow2 add-log-exp 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 unswap-sqr
Counts
4 → 109
Calls
4 calls:
6.0ms
(* (cbrt (* (sqrt 2.0) t)) (cbrt (* (sqrt 2.0) t)))
0.0ms
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l (/ 2 2)) (/ x l)) (* 4.0 (/ (pow t 2) x))))
4.0ms
(/ (pow t 2) x)
1.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ (pow l (/ 2 2)) (/ x l)) (* 4.0 (/ (pow t 2) x)))))

series708.0ms

Counts
4 → 12
Calls
4 calls:
352.0ms
(* (cbrt (* (sqrt 2.0) t)) (cbrt (* (sqrt 2.0) t)))
70.0ms
(fma 2.0 (pow t 2) (fma 2.0 (/ (pow l (/ 2 2)) (/ x l)) (* 4.0 (/ (pow t 2) x))))
18.0ms
(/ (pow t 2) x)
267.0ms
(sqrt (fma 2.0 (pow t 2) (fma 2.0 (/ (pow l (/ 2 2)) (/ x l)) (* 4.0 (/ (pow t 2) x)))))

simplify52.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0392837
11413743
25001701

prune473.0ms

Pruning

12 alts after pruning (9 fresh and 3 done)

Merged error: 3.3b

regimes421.0ms

Accuracy

75% (6.1b remaining)

Error of 10.0b against oracle of 3.9b and baseline of 28.3b

bsearch190.0ms

Steps
ItersRangePoint
8
1.80595587673263e-54
6.561292613698866e-51
6.437639390291024e-51
9
-2.6982004546836606e+112
-1.398310470605562e+107
-2.70678176523746e+109

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04333
16333
26433
36433

end0.0ms

sample2.1s

Algorithm
intervals
Results
490.0ms10060×body80nan
265.0ms5132×body80valid
219.0ms846×body1280valid
193.0ms975×body640valid
154.0ms634×body1280nan
118.0ms619×body640nan
98.0ms665×body320valid
52.0ms364×body320nan
40.0ms382×body160valid
18.0ms190×body160nan