Details

Time bar (total: 7.1s)

analyze896.0ms

Algorithm
search

sample66.0ms

Algorithm
intervals
Results
11.0ms165×body80valid
9.0ms22×body1280nan
8.0ms25×body1280valid
7.0ms29×body640valid
6.0ms25×body640nan
4.0ms22×body320valid
3.0ms47×body80nan
2.0ms11×body320nan
2.0ms15×body160valid
1.0msbody160nan

simplify79.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03914
19314
219314
341414
471814
5119214
6281614
7500114

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 40.3b

Counts
2 → 1

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t))))
0.4b
(* (sqrt 2.0) t)
12.8b
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
18.5b
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt *-un-lft-identity
32×associate-*l*
21×times-frac
19×add-cube-cbrt
11×add-exp-log add-cbrt-cube
pow1
sqrt-prod
associate-*r* add-log-exp
distribute-lft-out
distribute-lft-out-- difference-of-squares unswap-sqr
flip3-- prod-exp flip-- cbrt-unprod
distribute-rgt-in frac-times distribute-lft-in flip3-+ sqrt-div associate-*r/ pow-prod-down associate--l+ associate-/r/ *-commutative flip-+
cbrt-undiv sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log div-exp associate-*l/ div-inv
Counts
4 → 102
Calls
4 calls:
15.0ms
(* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t))))
5.0ms
(* (sqrt 2.0) t)
12.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)))

series292.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t))))
4.0ms
(* (sqrt 2.0) t)
59.0ms
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
198.0ms
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

simplify88.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
07001206
138401127
250011126

prune275.0ms

Filtered
81 candidates to 114 candidates (-40.7%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1077114
Fresh000
Picked101
Done000
Total1087115

Merged error: 5.6b

Counts
115 → 7

localize19.0ms

Local error

Found 4 expressions with local error:

2.8b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x))))
5.7b
(/ (pow l 2) x)
8.3b
(/ (pow t 2) x)
24.1b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x)))))

rewrite31.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
associate-*r/ add-cbrt-cube unpow2 sqr-pow
div-exp associate-/r* add-log-exp
pow1
flip3-+ sqrt-div frac-add flip-+
sqrt-prod
cbrt-undiv pow-to-exp associate-+r+ frac-2neg pow-exp clear-num div-inv
+-commutative distribute-rgt-in rem-sqrt-square distribute-lft-in sqrt-pow1 pow1/2 sum-log
Counts
4 → 130
Calls
4 calls:
9.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x))))
5.0ms
(/ (pow l 2) x)
5.0ms
(/ (pow t 2) x)
7.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x)))))

series51.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x))))
3.0ms
(/ (pow l 2) x)
3.0ms
(/ (pow t 2) x)
26.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x)))))

simplify63.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05261067
12113984
25001978

prune369.0ms

Filtered
97 candidates to 142 candidates (-46.4%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1375142
Fresh066
Picked101
Done000
Total13811149

Merged error: 3.3b

Counts
149 → 11

localize16.0ms

Local error

Found 4 expressions with local error:

0.6b
(+ (pow t 2) (/ l (/ x l)))
2.8b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l)))))
8.3b
(/ (pow t 2) x)
24.1b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l))))))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity times-frac
23×add-sqr-sqrt
22×add-cube-cbrt
12×unpow-prod-down
add-exp-log
associate-*r/ associate-/l* add-log-exp
add-cbrt-cube
pow1 flip3-+ flip-+
sqrt-div frac-add unpow2 sqr-pow
div-exp associate-/r* sqrt-prod
+-commutative associate-+r+ sum-log
cbrt-undiv distribute-rgt-in pow-to-exp rem-sqrt-square frac-2neg distribute-lft-in sqrt-pow1 pow1/2 pow-exp clear-num div-inv distribute-lft-out
Counts
4 → 93
Calls
4 calls:
22.0ms
(+ (pow t 2) (/ l (/ x l)))
9.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l)))))
5.0ms
(/ (pow t 2) x)
7.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l))))))

series53.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(+ (pow t 2) (/ l (/ x l)))
15.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l)))))
3.0ms
(/ (pow t 2) x)
25.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ l (/ x l))))))

simplify57.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0453932
11835862
25001859

prune263.0ms

Filtered
76 candidates to 105 candidates (-38.2%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1032105
Fresh1910
Picked011
Done000
Total10412116

Merged error: 3.3b

Counts
116 → 12

localize21.0ms

Local error

Found 4 expressions with local error:

0.6b
(+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x))))
2.8b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x))))))
8.3b
(/ (pow t 2) x)
24.1b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x)))))))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
24×times-frac
23×add-sqr-sqrt
22×add-cube-cbrt *-un-lft-identity
12×unpow-prod-down
add-exp-log
associate-*r/ associate-/l* add-log-exp
add-cbrt-cube
pow1 flip3-+ flip-+
sqrt-div frac-add unpow2 sqr-pow
div-exp associate-/r* sqrt-prod
+-commutative associate-+r+ sum-log
cbrt-undiv distribute-rgt-in pow-to-exp rem-sqrt-square frac-2neg distribute-lft-in sqrt-pow1 pow1/2 pow-exp clear-num div-inv
Counts
4 → 92
Calls
4 calls:
5.0ms
(+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x))))
11.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x))))))
5.0ms
(/ (pow t 2) x)
7.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x)))))))

series66.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x))))
17.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x))))))
3.0ms
(/ (pow t 2) x)
33.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (/ (/ (fabs l) (cbrt x)) (cbrt x)) (/ (fabs l) (cbrt x)))))))

simplify65.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
05031467
121091364
250011361

prune217.0ms

Filtered
77 candidates to 104 candidates (-35.1%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1040104
Fresh01010
Picked011
Done011
Total10412116

Merged error: 3.3b

Counts
116 → 12

regimes615.0ms

Accuracy

77% (5.4b remaining)

Error of 9.0b against oracle of 3.6b and baseline of 27.1b

bsearch768.0ms

Steps
ItersRangePoint
6
5.2994694639463726e+110
4.869185285998734e+111
1.1760272104889051e+111
10
-5.671879865461847e+139
-6.431605247935335e+126
-9.501767693111941e+126

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05957
15957

end0.0ms

analyze751.0ms

Algorithm
search

sample1.9s

Algorithm
intervals
Results
355.0ms5065×body80valid
293.0ms905×body1280valid
260.0ms1015×body640valid
174.0ms551×body1280nan
139.0ms544×body640nan
133.0ms666×body320valid
94.0ms1419×body80nan
70.0ms374×body320nan
48.0ms349×body160valid
27.0ms196×body160nan

Profiling

Loading profile data...