Details

Time bar (total: 1.2m)

sample1.4s

Algorithm
intervals
Results
1.2s114×body10240exit
49.0ms258×body80valid
49.0ms47×body1280nan
29.0ms41×body640nan
4.0msbody320nan
2.0ms12×body80nan
2.0msbody160nan

simplify1.1s

Counts
1 → 1
Iterations

Useful iterations: 3 (208.0ms)

IterNodesCost
060123
1148123
2594121
3368688
done500088

prune32.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 1.4b

localize56.0ms

Local error

Found 4 expressions with local error:

7.3b
(- (- 1.0 z) 1.0)
7.3b
(- (- 1.0 z) 1.0)
7.3b
(- (- 1.0 z) 1.0)
7.3b
(- (- 1.0 z) 1.0)

rewrite106.0ms

Algorithm
rewrite-expression-head
Rules
116×*-un-lft-identity
104×add-sqr-sqrt
96×prod-diff
64×add-cube-cbrt
44×associate--l+
28×distribute-lft-out--
24×add-log-exp
20×fma-neg difference-of-squares
12×diff-log
sub-neg
pow1 add-exp-log associate--l- expm1-log1p-u flip3-- add-cbrt-cube flip-- log1p-expm1-u
Counts
4 → 200
Calls
4 calls:
22.0ms
(- (- 1.0 z) 1.0)
22.0ms
(- (- 1.0 z) 1.0)
27.0ms
(- (- 1.0 z) 1.0)
23.0ms
(- (- 1.0 z) 1.0)

series46.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(- (- 1.0 z) 1.0)
11.0ms
(- (- 1.0 z) 1.0)
11.0ms
(- (- 1.0 z) 1.0)
12.0ms
(- (- 1.0 z) 1.0)

simplify1.6s

Counts
212 → 212
Iterations

Useful iterations: 3 (291.0ms)

IterNodesCost
0842848
11782152
25251500
323221012
done50001012

prune1.9s

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 1.4b

localize53.0ms

Local error

Found 4 expressions with local error:

0.9b
(+ (+ (+ (/ -0.13857109526572012 (+ 6.0 (- z))) (/ -1259.1392167224028 (+ (- z) 2.0))) (+ (/ 676.5203681218851 (- 1.0 z)) (+ (/ 771.3234287776531 (+ 3.0 (- z))) 0.9999999999998099))) (/ -176.6150291621406 (+ (- z) 4.0)))
1.0b
(/ (pow (+ 0.5 (+ (- z) 7.0)) (+ 0.5 (- z))) (exp (+ 0.5 (+ (- z) 7.0))))
1.0b
(sqrt (* PI 2.0))
1.5b
(+ (+ (/ -0.13857109526572012 (+ 6.0 (- z))) (/ -1259.1392167224028 (+ (- z) 2.0))) (+ (/ 676.5203681218851 (- 1.0 z)) (+ (/ 771.3234287776531 (+ 3.0 (- z))) 0.9999999999998099)))

rewrite5.0s

Algorithm
rewrite-expression-head
Rules
189×*-un-lft-identity
99×distribute-lft-out
62×times-frac
58×frac-add
54×add-log-exp
37×sum-log
30×unpow-prod-down
28×add-sqr-sqrt add-cube-cbrt
23×flip3-+ flip-+
22×fma-def
12×exp-sum
11×distribute-rgt-neg-in associate-/l*
pow1
add-exp-log add-cbrt-cube
unpow-prod-up sqr-pow
expm1-log1p-u associate-/r* log1p-expm1-u
div-exp associate-/l/ pow-sub
+-commutative neg-sub0 associate-+r- associate-+l+ sqrt-pow1
cbrt-undiv pow-to-exp associate-+l- associate-+r+ frac-2neg pow1/2 exp-diff unsub-neg pow-prod-down pow-exp clear-num sqrt-prod associate-/r/ div-inv
Counts
4 → 193
Calls
4 calls:
4.0s
(+ (+ (+ (/ -0.13857109526572012 (+ 6.0 (- z))) (/ -1259.1392167224028 (+ (- z) 2.0))) (+ (/ 676.5203681218851 (- 1.0 z)) (+ (/ 771.3234287776531 (+ 3.0 (- z))) 0.9999999999998099))) (/ -176.6150291621406 (+ (- z) 4.0)))
171.0ms
(/ (pow (+ 0.5 (+ (- z) 7.0)) (+ 0.5 (- z))) (exp (+ 0.5 (+ (- z) 7.0))))
2.0ms
(sqrt (* PI 2.0))
738.0ms
(+ (+ (/ -0.13857109526572012 (+ 6.0 (- z))) (/ -1259.1392167224028 (+ (- z) 2.0))) (+ (/ 676.5203681218851 (- 1.0 z)) (+ (/ 771.3234287776531 (+ 3.0 (- z))) 0.9999999999998099)))

series420.0ms

Counts
4 → 10
Calls
4 calls:
140.0ms
(+ (+ (+ (/ -0.13857109526572012 (+ 6.0 (- z))) (/ -1259.1392167224028 (+ (- z) 2.0))) (+ (/ 676.5203681218851 (- 1.0 z)) (+ (/ 771.3234287776531 (+ 3.0 (- z))) 0.9999999999998099))) (/ -176.6150291621406 (+ (- z) 4.0)))
172.0ms
(/ (pow (+ 0.5 (+ (- z) 7.0)) (+ 0.5 (- z))) (exp (+ 0.5 (+ (- z) 7.0))))
0.0ms
(sqrt (* PI 2.0))
108.0ms
(+ (+ (/ -0.13857109526572012 (+ 6.0 (- z))) (/ -1259.1392167224028 (+ (- z) 2.0))) (+ (/ 676.5203681218851 (- 1.0 z)) (+ (/ 771.3234287776531 (+ 3.0 (- z))) 0.9999999999998099)))

simplify459.0ms

Counts
203 → 203
Iterations

Useful iterations: done (444.0ms)

IterNodesCost
04729531
115278039
done50027746

prune1.8s

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.2b

localize60.0ms

Local error

Found 4 expressions with local error:

0.9b
(+ (/ 676.5203681218851 (- 1.0 z)) (+ (/ 771.3234287776531 (+ 3.0 (- z))) 0.9999999999998099))
1.0b
(* (/ (pow (+ (- 0.5 z) 7.0) 0.5) (sqrt (exp (+ (- 0.5 z) 7.0)))) (/ (pow (+ (- 0.5 z) 7.0) (- z)) (sqrt (exp (+ (- 0.5 z) 7.0)))))
1.0b
(sqrt (* PI 2.0))
1.5b
(+ (+ (/ -0.13857109526572012 (+ 6.0 (- z))) (/ -1259.1392167224028 (+ (- z) 2.0))) (+ (/ 676.5203681218851 (- 1.0 z)) (+ (/ 771.3234287776531 (+ 3.0 (- z))) 0.9999999999998099)))

rewrite1.4s

Algorithm
rewrite-expression-head
Rules
243×times-frac
240×add-sqr-sqrt
232×*-un-lft-identity
115×sqrt-prod
98×unpow-prod-down
80×add-cube-cbrt
68×associate-*r* associate-*l* distribute-lft-out
52×add-exp-log
49×unswap-sqr
42×sqr-pow
34×fma-def
30×add-log-exp
24×div-exp frac-add
18×exp-sum sum-log
17×distribute-lft-out--
16×prod-exp add-cbrt-cube
13×flip3-+ flip-+
pow1
pow-to-exp pow-exp
distribute-rgt-neg-in
cbrt-undiv expm1-log1p-u associate-/r/ cbrt-unprod log1p-expm1-u
div-inv difference-of-squares
+-commutative associate-+l- associate-+r+ sqrt-pow1 exp-diff sqrt-div pow-prod-down
frac-times associate-+l+ flip3-- pow1/2 associate-*r/ associate-*l/ *-commutative flip--
Counts
4 → 323
Calls
4 calls:
121.0ms
(+ (/ 676.5203681218851 (- 1.0 z)) (+ (/ 771.3234287776531 (+ 3.0 (- z))) 0.9999999999998099))
490.0ms
(* (/ (pow (+ (- 0.5 z) 7.0) 0.5) (sqrt (exp (+ (- 0.5 z) 7.0)))) (/ (pow (+ (- 0.5 z) 7.0) (- z)) (sqrt (exp (+ (- 0.5 z) 7.0)))))
2.0ms
(sqrt (* PI 2.0))
735.0ms
(+ (+ (/ -0.13857109526572012 (+ 6.0 (- z))) (/ -1259.1392167224028 (+ (- z) 2.0))) (+ (/ 676.5203681218851 (- 1.0 z)) (+ (/ 771.3234287776531 (+ 3.0 (- z))) 0.9999999999998099)))

series508.0ms

Counts
4 → 10
Calls
4 calls:
56.0ms
(+ (/ 676.5203681218851 (- 1.0 z)) (+ (/ 771.3234287776531 (+ 3.0 (- z))) 0.9999999999998099))
343.0ms
(* (/ (pow (+ (- 0.5 z) 7.0) 0.5) (sqrt (exp (+ (- 0.5 z) 7.0)))) (/ (pow (+ (- 0.5 z) 7.0) (- z)) (sqrt (exp (+ (- 0.5 z) 7.0)))))
0.0ms
(sqrt (* PI 2.0))
109.0ms
(+ (+ (/ -0.13857109526572012 (+ 6.0 (- z))) (/ -1259.1392167224028 (+ (- z) 2.0))) (+ (/ 676.5203681218851 (- 1.0 z)) (+ (/ 771.3234287776531 (+ 3.0 (- z))) 0.9999999999998099)))

simplify542.0ms

Counts
333 → 333
Iterations

Useful iterations: done (524.0ms)

IterNodesCost
058213202
1185712351
done500111783

prune2.9s

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.1b

localize59.0ms

Local error

Found 4 expressions with local error:

1.0b
(* (/ (pow (+ (- 0.5 z) 7.0) 0.5) (sqrt (exp (+ (- 0.5 z) 7.0)))) (/ (pow (+ (- 0.5 z) 7.0) (- z)) (sqrt (exp (+ (- 0.5 z) 7.0)))))
1.0b
(sqrt (* PI 2.0))
1.5b
(+ (+ (/ -1259.1392167224028 (- 2.0 z)) (/ -0.13857109526572012 (- 6.0 z))) (+ (/ 676.5203681218851 (- 1.0 z)) (+ (/ 771.3234287776531 (- 3.0 z)) 0.9999999999998099)))
1.5b
(expm1 (log1p (+ (+ (/ -1259.1392167224028 (- 2.0 z)) (/ -0.13857109526572012 (- 6.0 z))) (+ (/ 676.5203681218851 (- 1.0 z)) (+ (/ 771.3234287776531 (- 3.0 z)) 0.9999999999998099)))))

rewrite1.0s

Algorithm
rewrite-expression-head
Rules
225×add-sqr-sqrt
218×times-frac
184×*-un-lft-identity
115×sqrt-prod
98×unpow-prod-down
71×add-cube-cbrt
68×associate-*r* associate-*l*
52×add-exp-log
49×unswap-sqr
48×distribute-lft-out
42×sqr-pow
25×add-log-exp
24×div-exp
22×frac-add
18×exp-sum distribute-lft-out--
16×prod-exp add-cbrt-cube
15×sum-log
11×flip3-+ flip-+
pow1
pow-to-exp fma-def pow-exp
cbrt-undiv expm1-log1p-u cbrt-unprod log1p-expm1-u
associate-+l- sqrt-pow1 exp-diff sqrt-div pow-prod-down associate-/r/ div-inv
+-commutative frac-times associate-+l+ associate-+r+ expm1-log1p pow1/2 associate-*r/ associate-*l/ *-commutative expm1-udef
Counts
4 → 289
Calls
4 calls:
489.0ms
(* (/ (pow (+ (- 0.5 z) 7.0) 0.5) (sqrt (exp (+ (- 0.5 z) 7.0)))) (/ (pow (+ (- 0.5 z) 7.0) (- z)) (sqrt (exp (+ (- 0.5 z) 7.0)))))
2.0ms
(sqrt (* PI 2.0))
497.0ms
(+ (+ (/ -1259.1392167224028 (- 2.0 z)) (/ -0.13857109526572012 (- 6.0 z))) (+ (/ 676.5203681218851 (- 1.0 z)) (+ (/ 771.3234287776531 (- 3.0 z)) 0.9999999999998099)))
0.0ms
(expm1 (log1p (+ (+ (/ -1259.1392167224028 (- 2.0 z)) (/ -0.13857109526572012 (- 6.0 z))) (+ (/ 676.5203681218851 (- 1.0 z)) (+ (/ 771.3234287776531 (- 3.0 z)) 0.9999999999998099)))))

series865.0ms

Counts
4 → 10
Calls
4 calls:
520.0ms
(* (/ (pow (+ (- 0.5 z) 7.0) 0.5) (sqrt (exp (+ (- 0.5 z) 7.0)))) (/ (pow (+ (- 0.5 z) 7.0) (- z)) (sqrt (exp (+ (- 0.5 z) 7.0)))))
0.0ms
(sqrt (* PI 2.0))
113.0ms
(+ (+ (/ -1259.1392167224028 (- 2.0 z)) (/ -0.13857109526572012 (- 6.0 z))) (+ (/ 676.5203681218851 (- 1.0 z)) (+ (/ 771.3234287776531 (- 3.0 z)) 0.9999999999998099)))
231.0ms
(expm1 (log1p (+ (+ (/ -1259.1392167224028 (- 2.0 z)) (/ -0.13857109526572012 (- 6.0 z))) (+ (/ 676.5203681218851 (- 1.0 z)) (+ (/ 771.3234287776531 (- 3.0 z)) 0.9999999999998099)))))

simplify535.0ms

Counts
299 → 299
Iterations

Useful iterations: done (519.0ms)

IterNodesCost
059312834
1186812244
done500011758

prune2.5s

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0.1b

regimes400.0ms

Accuracy

0% (1.2b remaining)

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

bsearch0.0ms

simplify7.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06085
17585
done7585

end0.0ms

sample46.8s

Algorithm
intervals
Results
41.8s3954×body10240exit
1.6s1470×body1280nan
1.5s8084×body80valid
925.0ms1261×body640nan
327.0ms612×body320nan
116.0ms319×body160nan
58.0ms323×body80nan
0.0msbody160valid