Details

Time bar (total: 10.4s)

sample69.0ms

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

simplify1.5s

Counts
1 → 1
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
01937
14337
211936
328436
452936
577236
694436
7114436
8247236
done500136

prune11.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 38.4b

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

rewrite42.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))))))
17.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)))

series714.0ms

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

simplify470.0ms

Counts
72 → 72
Iterations

Useful iterations: done (467.0ms)

IterNodesCost
01661416
13891249
213441135
done50001102

prune414.0ms

Pruning

19 alts after pruning (19 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)))

rewrite28.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 sqrt-div add-cbrt-cube
difference-of-squares
frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/
cbrt-prod sub-neg pow1/3 diff-log associate-*l/
Counts
4 → 59
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)))
4.0ms
(sqrt (- (* g g) (* h h)))

series431.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(- (* g g) (* h h))
308.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
44.0ms
(sqrt (- (* g g) (* h h)))
49.0ms
(sqrt (- (* g g) (* h h)))

simplify435.0ms

Counts
71 → 71
Iterations

Useful iterations: done (433.0ms)

IterNodesCost
01351112
1304991
21151887
done5000879

prune436.0ms

Pruning

22 alts after pruning (22 fresh and 0 done)

Merged error: 33.7b

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

rewrite13.0ms

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

series157.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(- (* g g) (* h h))
35.0ms
(- (* g g) (* h h))
44.0ms
(sqrt (- (* g g) (* h h)))
49.0ms
(sqrt (- (* g g) (* h h)))

simplify921.0ms

Counts
70 → 70
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
055808
1122744
2423640
31665640
done5001640

prune417.0ms

Pruning

24 alts after pruning (23 fresh and 1 done)

Merged error: 33.7b

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

rewrite14.0ms

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

series159.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(- (* g g) (* h h))
30.0ms
(- (* g g) (* h h))
49.0ms
(sqrt (- (* g g) (* h h)))
44.0ms
(sqrt (- (* g g) (* h h)))

simplify919.0ms

Counts
70 → 70
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
055808
1122744
2423640
31665640
done5001640

prune348.0ms

Pruning

23 alts after pruning (22 fresh and 1 done)

Merged error: 33.7b

regimes740.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

sample2.1s

Algorithm
intervals
Results
632.0ms3755×body320valid
599.0ms7743×body80nan
465.0ms4089×body160valid
9.0ms156×body80valid