Details

Time bar (total: 7.0s)

sample69.0ms

Algorithm
intervals
Results
24.0ms122×body320valid
14.0ms131×body160valid
13.0ms245×body80nan
0.0msbody80valid

simplify128.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
04421
112521
231721
364821
4107321
5141721
6172521
7333321
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)))

rewrite48.0ms

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

series732.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0403826
11482784
25001777

prune474.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 31.9b

localize19.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)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
11×add-sqr-sqrt
10×fma-def
add-cube-cbrt
sqrt-prod add-log-exp
pow1
cbrt-div
add-exp-log expm1-log1p-u flip3-- distribute-rgt-neg-in sqrt-div add-cbrt-cube flip-- log1p-expm1-u
distribute-lft-neg-in
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- neg-mul-1 flip3-+ pow1/3 neg-log associate-*l/ flip-+
Counts
4 → 79
Calls
4 calls:
13.0ms
(+ (- g) (sqrt (- (* g g) (* h h))))
17.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
5.0ms
(sqrt (- (* g g) (* h h)))
5.0ms
(sqrt (- (* g g) (* h h)))

series480.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(+ (- g) (sqrt (- (* g g) (* h h))))
321.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
45.0ms
(sqrt (- (* g g) (* h h)))
50.0ms
(sqrt (- (* g g) (* h h)))

simplify42.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0336679
11232632
25001628

prune550.0ms

Pruning

24 alts after pruning (24 fresh and 0 done)

Merged error: 31.7b

localize23.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)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
11×add-sqr-sqrt
10×fma-def add-log-exp
add-cube-cbrt
sqrt-prod
pow1
add-exp-log expm1-log1p-u distribute-rgt-neg-in sqrt-div add-cbrt-cube log1p-expm1-u
distribute-lft-neg-in flip3-- flip-- difference-of-squares
rem-sqrt-square sqrt-pow1 pow1/2 sum-log distribute-lft-out
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg flip3-+ fma-neg diff-log prod-diff neg-log flip-+
Counts
4 → 80
Calls
4 calls:
3.0ms
(- (* g g) (* h h))
13.0ms
(+ (- g) (sqrt (- (* g g) (* h h))))
4.0ms
(sqrt (- (* g g) (* h h)))
5.0ms
(sqrt (- (* g g) (* h h)))

series190.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(- (* g g) (* h h))
65.0ms
(+ (- g) (sqrt (- (* g g) (* h h))))
50.0ms
(sqrt (- (* g g) (* h h)))
45.0ms
(sqrt (- (* g g) (* h h)))

simplify113.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 3 (107.0ms)

IterNodesCost
0214476
1929438
23969427
35001424

prune526.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 30.8b

localize27.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)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
10×fma-def sqrt-div add-log-exp
add-sqr-sqrt
pow1 add-cube-cbrt
flip3-- sqrt-prod flip--
add-exp-log expm1-log1p-u frac-times distribute-rgt-neg-in flip3-+ add-cbrt-cube flip-+ log1p-expm1-u
distribute-lft-neg-in sqrt-pow1
pow1/2 associate-*r/ associate-*l/ sum-log distribute-lft-out difference-of-squares
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg rem-sqrt-square fma-neg diff-log prod-diff pow-prod-down neg-log
Counts
4 → 83
Calls
4 calls:
3.0ms
(- (* g g) (* h h))
13.0ms
(+ (- g) (sqrt (- (* g g) (* h h))))
4.0ms
(sqrt (- (* g g) (* h h)))
12.0ms
(sqrt (* (+ g h) (- g h)))

series213.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(- (* g g) (* h h))
59.0ms
(+ (- g) (sqrt (- (* g g) (* h h))))
52.0ms
(sqrt (- (* g g) (* h h)))
64.0ms
(sqrt (* (+ g h) (- g h)))

simplify45.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0318522
11541484
25002477

prune495.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 30.8b

regimes732.0ms

Accuracy

75.9% (0.5b remaining)

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

bsearch107.0ms

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

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04244
14544
24544

end0.0ms

sample1.8s

Algorithm
intervals
Results
620.0ms3741×body320valid
462.0ms4141×body160valid
403.0ms7969×body80nan
7.0ms118×body80valid