Details

Time bar (total: 6.8s)

sample69.0ms

Algorithm
intervals
Results
20.0ms122×body320valid
18.0ms131×body160valid
13.0ms245×body80nan
0.0msbody80valid

simplify116.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04321
112221
229921
359121
493121
5116221
6138821
7279821
8500221

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 35.7b

localize18.0ms

Local error

Found 4 expressions with local error:

7.7b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
8.4b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
29.1b
(sqrt (- (* g g) (* h h)))
29.1b
(sqrt (- (* g g) (* h h)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
10×cbrt-div
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log frac-times flip3-- sqrt-div associate-*r/ add-cbrt-cube flip-- add-log-exp
cbrt-prod rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 pow1/3 associate-*l/ flip-+ difference-of-squares
Counts
4 → 60
Calls
4 calls:
16.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
19.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series920.0ms

Counts
4 → 12
Calls
4 calls:
511.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
314.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
49.0ms
(sqrt (- (* g g) (* h h)))
45.0ms
(sqrt (- (* g g) (* h h)))

simplify43.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0385766
11380724
25001718

prune403.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 31.9b

localize20.0ms

Local error

Found 4 expressions with local error:

2.7b
(+ (- g) (sqrt (- (* g g) (* h h))))
8.4b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
29.1b
(sqrt (- (* g g) (* h h)))
29.1b
(sqrt (- (* g g) (* h h)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity
add-sqr-sqrt sqrt-prod add-log-exp
pow1 add-cube-cbrt
cbrt-div
add-exp-log flip3-- sqrt-div add-cbrt-cube flip--
frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ sum-log distribute-lft-out difference-of-squares
+-commutative cbrt-prod neg-sub0 associate-+l- distribute-rgt-neg-in flip3-+ pow1/3 neg-log associate-*l/ flip-+
Counts
4 → 61
Calls
4 calls:
11.0ms
(+ (- g) (sqrt (- (* g g) (* h h))))
16.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series455.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(+ (- g) (sqrt (- (* g g) (* h h))))
300.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
47.0ms
(sqrt (- (* g g) (* h h)))
47.0ms
(sqrt (- (* g g) (* h h)))

simplify122.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0317623
11131584
24793575
35001575

prune425.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 30.8b

localize19.0ms

Local error

Found 4 expressions with local error:

2.2b
(- (* g g) (* h h))
2.7b
(+ (- g) (sqrt (- (* g g) (* h h))))
29.1b
(sqrt (- (* g g) (* h h)))
29.1b
(sqrt (- (* g g) (* h h)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt
add-exp-log sqrt-div add-cbrt-cube
flip3-- flip-- difference-of-squares
rem-sqrt-square sqrt-pow1 pow1/2 sum-log distribute-lft-out
+-commutative neg-sub0 associate-+l- sub-neg distribute-rgt-neg-in flip3-+ diff-log neg-log flip-+
Counts
4 → 60
Calls
4 calls:
2.0ms
(- (* g g) (* h h))
11.0ms
(+ (- g) (sqrt (- (* g g) (* h h))))
4.0ms
(sqrt (- (* g g) (* h h)))
4.0ms
(sqrt (- (* g g) (* h h)))

series184.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(- (* g g) (* h h))
60.0ms
(+ (- g) (sqrt (- (* g g) (* h h))))
46.0ms
(sqrt (- (* g g) (* h h)))
48.0ms
(sqrt (- (* g g) (* h h)))

simplify109.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (103.0ms)

IterNodesCost
0195428
1832397
23469387
35001386

prune396.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 30.8b

localize24.0ms

Local error

Found 4 expressions with local error:

2.2b
(- (* g g) (* h h))
2.7b
(+ (- g) (sqrt (- (* g g) (* h h))))
29.1b
(sqrt (- (* g g) (* h h)))
29.1b
(sqrt (* (+ g h) (- g h)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
10×sqrt-div add-log-exp
*-un-lft-identity
pow1
add-sqr-sqrt
add-cube-cbrt flip3-- sqrt-prod flip--
add-exp-log frac-times flip3-+ add-cbrt-cube flip-+
sqrt-pow1
pow1/2 associate-*r/ associate-*l/ sum-log distribute-lft-out difference-of-squares
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square distribute-rgt-neg-in diff-log pow-prod-down neg-log
Counts
4 → 63
Calls
4 calls:
2.0ms
(- (* g g) (* h h))
15.0ms
(+ (- g) (sqrt (- (* g g) (* h h))))
4.0ms
(sqrt (- (* g g) (* h h)))
6.0ms
(sqrt (* (+ g h) (- g h)))

series194.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(- (* g g) (* h h))
60.0ms
(+ (- g) (sqrt (- (* g g) (* h h))))
48.0ms
(sqrt (- (* g g) (* h h)))
55.0ms
(sqrt (* (+ g h) (- g h)))

simplify41.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0293474
11423440
25001434

prune356.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 30.8b

regimes745.0ms

Accuracy

65.5% (0.5b remaining)

Error of 31.3b against oracle of 30.8b and baseline of 32.3b

bsearch112.0ms

Steps
ItersRangePoint
7
8.939753670236078e-162
2.2583535890233448e-160
3.224313048166206e-161

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05348
15648
25648

end0.0ms

sample1.9s

Algorithm
intervals
Results
618.0ms3741×body320valid
471.0ms4141×body160valid
403.0ms7969×body80nan
7.0ms118×body80valid