Details

Time bar (total: 11.3s)

sample69.0ms

Algorithm
intervals
Results
20.0ms121×body320valid
16.0ms259×body80nan
14.0ms128×body160valid
0.0msbody80valid

simplify1.8s

Counts
1 → 1
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
01937
14437
212236
330136
457436
588536
6115436
7142836
8297936
done500036

prune11.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 38.4b

localize18.0ms

Local error

Found 4 expressions with local error:

6.8b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
9.0b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
32.6b
(sqrt (- (* g g) (* h h)))
32.6b
(sqrt (- (* g g) (* h h)))

rewrite46.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:
17.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)))

series740.0ms

Counts
4 → 12
Calls
4 calls:
317.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
327.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)))

simplify518.0ms

Counts
80 → 80
Iterations

Useful iterations: done (514.0ms)

IterNodesCost
01721528
14071345
214271225
done50001194

prune480.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 34.1b

localize19.0ms

Local error

Found 4 expressions with local error:

4.2b
(- (* g g) (* h h))
6.8b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
32.6b
(sqrt (- (* g g) (* h h)))
32.6b
(sqrt (- (* g g) (* h h)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity add-log-exp
cbrt-div flip3-- flip--
add-exp-log expm1-log1p-u sqrt-div add-cbrt-cube log1p-expm1-u
difference-of-squares
frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/
cbrt-prod sub-neg fma-neg pow1/3 diff-log prod-diff associate-*l/
Counts
4 → 69
Calls
4 calls:
3.0ms
(- (* g g) (* h h))
17.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)))

series448.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(- (* g g) (* h h))
316.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
51.0ms
(sqrt (- (* g g) (* h h)))
49.0ms
(sqrt (- (* g g) (* h h)))

simplify481.0ms

Counts
81 → 81
Iterations

Useful iterations: done (479.0ms)

IterNodesCost
01441220
13241079
21241975
done5001967

prune703.0ms

Pruning

21 alts after pruning (21 fresh and 0 done)

Merged error: 33.7b

localize20.0ms

Local error

Found 4 expressions with local error:

4.2b
(- (* g g) (* h h))
4.2b
(- (* g g) (* h h))
32.6b
(sqrt (- (* g g) (* h h)))
32.6b
(sqrt (- (* g g) (* h h)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log expm1-log1p-u flip3-- sqrt-div add-cbrt-cube flip-- log1p-expm1-u difference-of-squares
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 fma-neg diff-log prod-diff
Counts
4 → 70
Calls
4 calls:
3.0ms
(- (* g g) (* h h))
3.0ms
(- (* g g) (* h h))
4.0ms
(sqrt (- (* g g) (* h h)))
5.0ms
(sqrt (- (* g g) (* h h)))

series164.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(- (* g g) (* h h))
31.0ms
(- (* g g) (* h h))
46.0ms
(sqrt (- (* g g) (* h h)))
50.0ms
(sqrt (- (* g g) (* h h)))

simplify1.0s

Counts
82 → 82
Iterations

Useful iterations: done (1.0s)

IterNodesCost
062912
1136824
2471722
31868722
done5001720

prune490.0ms

Pruning

23 alts after pruning (22 fresh and 1 done)

Merged error: 33.7b

localize22.0ms

Local error

Found 4 expressions with local error:

4.2b
(- (* g g) (* h h))
4.2b
(- (* g g) (* h h))
32.6b
(sqrt (- (* g g) (* h h)))
32.6b
(sqrt (- (* g g) (* h h)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log expm1-log1p-u flip3-- sqrt-div add-cbrt-cube flip-- log1p-expm1-u difference-of-squares
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 fma-neg diff-log prod-diff
Counts
4 → 70
Calls
4 calls:
3.0ms
(- (* g g) (* h h))
3.0ms
(- (* g g) (* h h))
7.0ms
(sqrt (- (* g g) (* h h)))
5.0ms
(sqrt (- (* g g) (* h h)))

series158.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(- (* g g) (* h h))
31.0ms
(- (* g g) (* h h))
50.0ms
(sqrt (- (* g g) (* h h)))
46.0ms
(sqrt (- (* g g) (* h h)))

simplify1.0s

Counts
82 → 82
Iterations

Useful iterations: done (1.0s)

IterNodesCost
062912
1136824
2471722
31868722
done5001720

prune425.0ms

Pruning

22 alts after pruning (21 fresh and 1 done)

Merged error: 33.7b

regimes768.0ms

Accuracy

0% (1.8b remaining)

Error of 33.0b against oracle of 31.2b and baseline of 33.0b

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02038
12438
done2438

end0.0ms

sample1.8s

Algorithm
intervals
Results
620.0ms3755×body320valid
460.0ms4089×body160valid
396.0ms7743×body80nan
9.0ms156×body80valid