Details

Time bar (total: 7.2s)

sample95.0ms

Algorithm
intervals
Results
25.0ms100×body2560nan
18.0ms500×body80nan
14.0ms83×body1280nan
11.0ms256×body80valid
4.0ms30×body640nan
2.0ms20×body320nan
0.0msbody160nan

simplify4.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
079
1109
2119
done119

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.9b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

0.2b
(log (+ x (sqrt (- (* x x) 1.0))))
30.5b
(sqrt (- (* x x) 1.0))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity
pow1 add-cube-cbrt log-prod sqrt-prod
add-exp-log
log-div sqrt-div add-cbrt-cube add-log-exp
rem-sqrt-square flip3-- sqrt-pow1 flip3-+ pow1/2 rem-log-exp log-pow flip-- flip-+ distribute-lft-out difference-of-squares
Counts
2 → 31
Calls
2 calls:
7.0ms
(log (+ x (sqrt (- (* x x) 1.0))))
5.0ms
(sqrt (- (* x x) 1.0))

series14.0ms

Counts
2 → 6
Calls
2 calls:
10.0ms
(log (+ x (sqrt (- (* x x) 1.0))))
4.0ms
(sqrt (- (* x x) 1.0))

simplify645.0ms

Counts
37 → 37
Iterations

Useful iterations: 3 (210.0ms)

IterNodesCost
0125556
1270511
2788456
32759448
done5001448

prune74.0ms

Filtered
30 candidates to 37 candidates (-23.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New35237
Fresh000
Picked011
Done000
Total35338

Merged error: 0.0b

Counts
38 → 3

localize10.0ms

Local error

Found 2 expressions with local error:

0.2b
(log (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))))
0.5b
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
15×sqrt-prod
12×sqrt-div
11×*-un-lft-identity
associate-*r*
pow1 add-cube-cbrt associate-*l*
add-exp-log
frac-times flip3-+ add-cbrt-cube flip-+ unswap-sqr
log-prod flip3-- pow-prod-down flip--
log-div sqrt-pow1 pow1/2 associate-*r/ associate-*l/ add-log-exp difference-of-squares
sqrt-unprod rem-log-exp prod-exp log-pow *-commutative cbrt-unprod distribute-lft-out distribute-lft-out--
Counts
2 → 56
Calls
2 calls:
3.0ms
(log (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))))
14.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

series28.0ms

Counts
2 → 6
Calls
2 calls:
15.0ms
(log (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))))
13.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

simplify1.1s

Counts
62 → 62
Iterations

Useful iterations: 3 (386.0ms)

IterNodesCost
01781279
13911107
212951043
346541032
done50001032

prune150.0ms

Filtered
47 candidates to 62 candidates (-31.9%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New62062
Fresh011
Picked011
Done011
Total62365

Merged error: 0.0b

Counts
65 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ 0.09375 (pow x 4)) (/ 0.25 (pow x 2)))
0.1b
(/ 0.09375 (pow x 4))
0.2b
(- (log 2) (- (+ (/ 0.09375 (pow x 4)) (/ 0.25 (pow x 2))) (log x)))
0.5b
(/ 0.25 (pow x 2))

rewrite99.0ms

Algorithm
rewrite-expression-head
Rules
67×*-un-lft-identity
47×times-frac
40×add-sqr-sqrt
38×add-cube-cbrt
24×unpow-prod-down
18×distribute-lft-out--
15×associate-/r*
14×add-exp-log
13×pow1
10×add-log-exp
log-pow
add-cbrt-cube sqr-pow
div-exp distribute-lft-out associate-/l*
diff-log
associate--l+ unpow2
log-prod associate--r+
cbrt-undiv pow-to-exp sub-neg frac-2neg pow-exp clear-num sum-log div-inv
+-commutative flip3-- flip3-+ frac-add flip-- flip-+ associate--r- difference-of-squares
Counts
4 → 140
Calls
4 calls:
38.0ms
(+ (/ 0.09375 (pow x 4)) (/ 0.25 (pow x 2)))
5.0ms
(/ 0.09375 (pow x 4))
44.0ms
(- (log 2) (- (+ (/ 0.09375 (pow x 4)) (/ 0.25 (pow x 2))) (log x)))
5.0ms
(/ 0.25 (pow x 2))

series28.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(+ (/ 0.09375 (pow x 4)) (/ 0.25 (pow x 2)))
4.0ms
(/ 0.09375 (pow x 4))
11.0ms
(- (log 2) (- (+ (/ 0.09375 (pow x 4)) (/ 0.25 (pow x 2))) (log x)))
3.0ms
(/ 0.25 (pow x 2))

simplify481.0ms

Counts
152 → 152
Iterations

Useful iterations: done (477.0ms)

IterNodesCost
02462115
15141989
216411815
done50001799

prune274.0ms

Filtered
98 candidates to 152 candidates (-55.1%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1511152
Fresh000
Picked101
Done022
Total1523155

Merged error: 0b

Counts
155 → 3

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (log 2) (- (+ (/ 0.09375 (pow x 4)) (/ 0.25 (pow x 2))) (log x)))
0.5b
(/ 0.25 (pow x 2))
0.5b
(/ 0.25 (pow x 2))
0.5b
(* (sqrt (- (log 2) (- (+ (/ 0.09375 (pow x 4)) (/ 0.25 (pow x 2))) (log x)))) (sqrt (- (log 2) (- (+ (/ 0.09375 (pow x 4)) (/ 0.25 (pow x 2))) (log x)))))

rewrite191.0ms

Algorithm
rewrite-expression-head
Rules
642×*-un-lft-identity
450×distribute-lft-out--
282×sqrt-prod
244×pow1
225×log-pow
129×swap-sqr
100×distribute-lft-out
69×add-sqr-sqrt
48×times-frac
47×add-cube-cbrt
24×unpow-prod-down
17×associate-*r* associate-*l*
16×add-exp-log associate-/r*
12×sqrt-div
10×add-cbrt-cube
sqrt-pow1 pow1/2 unpow2 add-log-exp sqr-pow
flip3-- flip--
div-exp associate-/l*
diff-log pow-prod-up difference-of-squares
frac-times associate--l+ unswap-sqr
log-prod pow-prod-down pow-sqr associate--r+
cbrt-undiv pow-to-exp sub-neg frac-2neg associate-*r/ associate-*l/ pow-exp clear-num div-inv
pow2 pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod associate--r-
Counts
4 → 330
Calls
4 calls:
45.0ms
(- (log 2) (- (+ (/ 0.09375 (pow x 4)) (/ 0.25 (pow x 2))) (log x)))
5.0ms
(/ 0.25 (pow x 2))
5.0ms
(/ 0.25 (pow x 2))
103.0ms
(* (sqrt (- (log 2) (- (+ (/ 0.09375 (pow x 4)) (/ 0.25 (pow x 2))) (log x)))) (sqrt (- (log 2) (- (+ (/ 0.09375 (pow x 4)) (/ 0.25 (pow x 2))) (log x)))))

series36.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(- (log 2) (- (+ (/ 0.09375 (pow x 4)) (/ 0.25 (pow x 2))) (log x)))
3.0ms
(/ 0.25 (pow x 2))
3.0ms
(/ 0.25 (pow x 2))
13.0ms
(* (sqrt (- (log 2) (- (+ (/ 0.09375 (pow x 4)) (/ 0.25 (pow x 2))) (log x)))) (sqrt (- (log 2) (- (+ (/ 0.09375 (pow x 4)) (/ 0.25 (pow x 2))) (log x)))))

simplify434.0ms

Counts
342 → 342
Iterations

Useful iterations: done (413.0ms)

IterNodesCost
022110526
14206280
213675850
done50005846

prune586.0ms

Filtered
120 candidates to 342 candidates (-185.0%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New3420342
Fresh000
Picked011
Done022
Total3423345

Merged error: 0b

Counts
345 → 3

regimes104.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01014
11314
done1314

end0.0ms

sample2.8s

Algorithm
intervals
Results
619.0ms3003×body2560nan
581.0ms15817×body80nan
430.0ms2477×body1280nan
346.0ms8000×body80valid
168.0ms1227×body640nan
61.0ms596×body320nan
22.0ms304×body160nan

Profiling

Loading profile data...