Details

Time bar (total: 34.7s)

sample127.0ms

Algorithm
intervals
Results
34.0ms116×body320valid
33.0ms255×body80nan
27.0ms133×body160valid
1.0msbody80valid

simplify10.7s

Counts
1 → 1
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
01937
14337
212236
329736
458336
589136
6107936
7130036
8249136
done500036

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 37.9b

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

rewrite154.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))))))
58.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
10.0ms
(sqrt (- (* g g) (* h h)))
16.0ms
(sqrt (- (* g g) (* h h)))

series1.1s

Counts
4 → 12
Calls
4 calls:
508.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
478.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
71.0ms
(sqrt (- (* g g) (* h h)))
76.0ms
(sqrt (- (* g g) (* h h)))

simplify3.4s

Counts
72 → 72
Iterations

Useful iterations: done (3.4s)

IterNodesCost
01661416
13851249
212681135
349571078
done50001076

prune721.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 33.7b

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

rewrite110.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:
17.0ms
(- (* g g) (* h h))
39.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
19.0ms
(sqrt (- (* g g) (* h h)))
32.0ms
(sqrt (- (* g g) (* h h)))

series701.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(- (* g g) (* h h))
492.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
85.0ms
(sqrt (- (* g g) (* h h)))
69.0ms
(sqrt (- (* g g) (* h h)))

simplify3.2s

Counts
71 → 71
Iterations

Useful iterations: done (3.2s)

IterNodesCost
01371112
1317990
21031876
34329853
done5001842

prune693.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 32.3b

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

rewrite96.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:
13.0ms
(- (* g g) (* h h))
58.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
10.0ms
(sqrt (- (* g g) (* h h)))
14.0ms
(sqrt (- (* g g) (* h h)))

series622.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(- (* g g) (* h h))
443.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (+ (- g) (sqrt (- (* g g) (* h h))))))
70.0ms
(sqrt (- (* g g) (* h h)))
67.0ms
(sqrt (- (* g g) (* h h)))

simplify3.0s

Counts
71 → 71
Iterations

Useful iterations: done (3.0s)

IterNodesCost
01371112
1317990
21031876
34329853
done5001842

prune577.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 32.3b

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

rewrite76.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))
44.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
10.0ms
(sqrt (- (* g g) (* h h)))
10.0ms
(sqrt (- (* g g) (* h h)))

series518.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(- (* g g) (* h h))
378.0ms
(cbrt (* (/ 1.0 (* 2.0 a)) (- (- g) (sqrt (- (* g g) (* h h))))))
50.0ms
(sqrt (- (* g g) (* h h)))
55.0ms
(sqrt (- (* g g) (* h h)))

simplify2.3s

Counts
71 → 71
Iterations

Useful iterations: done (2.3s)

IterNodesCost
01351112
1294991
2968887
33952865
done5000855

prune443.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 32.3b

regimes792.0ms

Accuracy

68.9% (1.1b remaining)

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

bsearch195.0ms

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

simplify7.0ms

Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
03678
14476
done4476

end0.0ms

sample5.0s

Algorithm
intervals
Results
1.8s3733×body320valid
1.2s8143×body80nan
1.2s4114×body160valid
15.0ms153×body80valid