Details

Time bar (total: 8.6s)

sample33.0ms

Algorithm
intervals
Results
17.0ms631×body80valid

simplify2.3s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
078
1188
2408
3998
42178
53708
66208
714788
834888
done50008

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 8.7b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (cosh x) (/ y x))
8.2b
(/ (* (cosh x) (/ y x)) z)

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
16×add-exp-log add-cbrt-cube
13×times-frac associate-*r*
12×add-cube-cbrt *-un-lft-identity
cbrt-undiv div-exp
pow1 cosh-def prod-exp cbrt-unprod
associate-*l* associate-/r* associate-/l/
frac-times associate-*r/ associate-*l/ div-inv add-log-exp unswap-sqr
frac-2neg pow-prod-down clear-num *-commutative associate-/l*
Counts
2 → 60
Calls
2 calls:
8.0ms
(* (cosh x) (/ y x))
5.0ms
(/ (* (cosh x) (/ y x)) z)

series209.0ms

Counts
2 → 6
Calls
2 calls:
83.0ms
(* (cosh x) (/ y x))
125.0ms
(/ (* (cosh x) (/ y x)) z)

simplify495.0ms

Counts
66 → 66
Iterations

Useful iterations: 2 (118.0ms)

IterNodesCost
0137707
1344670
21308570
done5000570

prune153.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.1b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (exp x) (exp (- x)))
0.0b
(* (* 1/2 (+ (exp x) (exp (- x)))) y)
5.6b
(/ (* (* 1/2 (+ (exp x) (exp (- x)))) y) (* x z))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
29×add-exp-log add-cbrt-cube
12×prod-exp cbrt-unprod
pow1
cbrt-undiv *-un-lft-identity div-exp
add-log-exp
add-sqr-sqrt add-cube-cbrt associate-*r/ associate-*l/
flip3-+ associate-*r* pow-prod-down flip-+
associate-/l/
+-commutative frac-2neg times-frac associate-*l* clear-num associate-/r* sum-log *-commutative div-inv distribute-lft-out associate-/l*
Counts
3 → 59
Calls
3 calls:
5.0ms
(+ (exp x) (exp (- x)))
25.0ms
(* (* 1/2 (+ (exp x) (exp (- x)))) y)
31.0ms
(/ (* (* 1/2 (+ (exp x) (exp (- x)))) y) (* x z))

series188.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(+ (exp x) (exp (- x)))
67.0ms
(* (* 1/2 (+ (exp x) (exp (- x)))) y)
97.0ms
(/ (* (* 1/2 (+ (exp x) (exp (- x)))) y) (* x z))

simplify998.0ms

Counts
68 → 68
Iterations

Useful iterations: 2 (425.0ms)

IterNodesCost
01401143
14371077
22334820
done5000820

prune160.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (* 1/2 (+ (exp x) (exp (- x)))) x)
0.0b
(+ (exp x) (exp (- x)))
6.5b
(* (/ (* 1/2 (+ (exp x) (exp (- x)))) x) (/ y z))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
29×add-exp-log add-cbrt-cube
19×add-sqr-sqrt
16×*-un-lft-identity times-frac
14×add-cube-cbrt
13×associate-*r*
cbrt-undiv div-exp prod-exp cbrt-unprod
associate-*l*
pow1 add-log-exp
associate-*r/ associate-/r* div-inv
flip3-+ flip-+ associate-/l/ unswap-sqr
+-commutative frac-times frac-2neg pow-prod-down associate-*l/ clear-num sum-log *-commutative distribute-lft-out associate-/l*
Counts
3 → 81
Calls
3 calls:
9.0ms
(/ (* 1/2 (+ (exp x) (exp (- x)))) x)
5.0ms
(+ (exp x) (exp (- x)))
32.0ms
(* (/ (* 1/2 (+ (exp x) (exp (- x)))) x) (/ y z))

series181.0ms

Counts
3 → 9
Calls
3 calls:
62.0ms
(/ (* 1/2 (+ (exp x) (exp (- x)))) x)
27.0ms
(+ (exp x) (exp (- x)))
93.0ms
(* (/ (* 1/2 (+ (exp x) (exp (- x)))) x) (/ y z))

simplify758.0ms

Counts
90 → 90
Iterations

Useful iterations: 2 (245.0ms)

IterNodesCost
01811517
15331426
222091176
done50011176

prune233.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp x) (exp (- x)))
0.0b
(/ (* 1/2 (+ (exp x) (exp (- x)))) z)
0.2b
(* (/ (* 1/2 (+ (exp x) (exp (- x)))) z) y)
6.3b
(/ (* (/ (* 1/2 (+ (exp x) (exp (- x)))) z) y) x)

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
32×add-exp-log add-cbrt-cube
13×add-sqr-sqrt *-un-lft-identity
11×add-cube-cbrt
10×cbrt-undiv div-exp
times-frac prod-exp cbrt-unprod
associate-*l*
pow1 associate-/r* add-log-exp
associate-*r* div-inv associate-/l/
frac-2neg flip3-+ associate-*r/ associate-*l/ clear-num flip-+ associate-/l*
+-commutative pow-prod-down sum-log *-commutative distribute-lft-out unswap-sqr
Counts
4 → 88
Calls
4 calls:
5.0ms
(+ (exp x) (exp (- x)))
9.0ms
(/ (* 1/2 (+ (exp x) (exp (- x)))) z)
35.0ms
(* (/ (* 1/2 (+ (exp x) (exp (- x)))) z) y)
49.0ms
(/ (* (/ (* 1/2 (+ (exp x) (exp (- x)))) z) y) x)

series288.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(+ (exp x) (exp (- x)))
54.0ms
(/ (* 1/2 (+ (exp x) (exp (- x)))) z)
94.0ms
(* (/ (* 1/2 (+ (exp x) (exp (- x)))) z) y)
115.0ms
(/ (* (/ (* 1/2 (+ (exp x) (exp (- x)))) z) y) x)

simplify814.0ms

Counts
100 → 100
Iterations

Useful iterations: 2 (272.0ms)

IterNodesCost
01861605
15031536
221611233
done50011233

prune247.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

regimes198.0ms

Accuracy

96.4% (0.2b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 6.9b

bsearch1.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02554
13054
done3054

end0.0ms

sample1.1s

Algorithm
intervals
Results
614.0ms22339×body80valid