Details

Time bar (total: 34.9s)

sample102.0ms

Algorithm
intervals
Results
31.0ms116×body320valid
25.0ms133×body160valid
23.0ms255×body80nan
1.0msbody80valid

simplify10.1s

Counts
1 → 1
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
01937
14337
212236
329736
458336
589136
6107936
7130036
8249136
done500036

prune12.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 37.9b

localize26.0ms

Local error

Found 4 expressions with local error:

7.4b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
7.6b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
32.1b
(sqrt (- (* g g) (* h h)))
32.1b
(sqrt (- (* g g) (* h h)))

rewrite185.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:
68.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
76.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
19.0ms
(sqrt (- (* g g) (* h h)))
18.0ms
(sqrt (- (* g g) (* h h)))

series1.1s

Counts
4 → 12
Calls
4 calls:
500.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
436.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
81.0ms
(sqrt (- (* g g) (* h h)))
66.0ms
(sqrt (- (* g g) (* h h)))

simplify3.2s

Counts
72 → 72
Iterations

Useful iterations: done (3.2s)

IterNodesCost
01661416
13851249
212681135
349571078
done50001076

prune581.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 33.7b

localize42.0ms

Local error

Found 4 expressions with local error:

3.8b
(- (* g g) (* h h))
7.6b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
32.1b
(sqrt (- (* g g) (* h h)))
32.1b
(sqrt (- (* g g) (* h h)))

rewrite91.0ms

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

series590.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(- (* g g) (* h h))
432.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
57.0ms
(sqrt (- (* g g) (* h h)))
51.0ms
(sqrt (- (* g g) (* h h)))

simplify3.2s

Counts
71 → 71
Iterations

Useful iterations: done (3.2s)

IterNodesCost
01371112
1317990
21031876
34329853
done5001842

prune683.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 32.3b

localize25.0ms

Local error

Found 4 expressions with local error:

3.8b
(- (* g g) (* h h))
7.6b
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
32.1b
(sqrt (- (* g g) (* h h)))
32.1b
(sqrt (- (* g g) (* h h)))

rewrite99.0ms

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

series1.0s

Counts
4 → 12
Calls
4 calls:
59.0ms
(- (* g g) (* h h))
471.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
85.0ms
(sqrt (- (* g g) (* h h)))
407.0ms
(sqrt (- (* g g) (* h h)))

simplify2.8s

Counts
71 → 71
Iterations

Useful iterations: done (2.8s)

IterNodesCost
01371112
1317990
21031876
34329853
done5001842

prune613.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 32.3b

localize25.0ms

Local error

Found 4 expressions with local error:

3.8b
(- (* g g) (* h h))
7.4b
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
32.1b
(sqrt (- (* g g) (* h h)))
32.1b
(sqrt (- (* g g) (* h h)))

rewrite75.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:
9.0ms
(- (* g g) (* h h))
36.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
10.0ms
(sqrt (- (* g g) (* h h)))
18.0ms
(sqrt (- (* g g) (* h h)))

series560.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(- (* g g) (* h h))
416.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
51.0ms
(sqrt (- (* g g) (* h h)))
56.0ms
(sqrt (- (* g g) (* h h)))

simplify2.5s

Counts
71 → 71
Iterations

Useful iterations: done (2.5s)

IterNodesCost
01351112
1294991
2968887
33952865
done5000855

prune574.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 32.3b

regimes872.0ms

Accuracy

68.9% (1.1b remaining)

Error of 31.6b against oracle of 30.5b and baseline of 34.1b

bsearch225.0ms

Steps
ItersRangePoint
9
-3.461821245196587e-165
-7.460550453002327e-171
-3.4219843915306896e-165

simplify9.0ms

Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
03678
14476
done4476

end0.0ms

sample5.6s

Algorithm
intervals
Results
1.7s3733×body320valid
1.6s8143×body80nan
1.6s4114×body160valid
17.0ms153×body80valid