Details

Time bar (total: 8.5s)

sample32.0ms

Algorithm
intervals
Results
16.0ms631×body80valid

simplify2.0s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
078
1188
2408
3998
42158
53678
66118
714418
835018
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)

rewrite14.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:
7.0ms
(* (cosh x) (/ y x))
5.0ms
(/ (* (cosh x) (/ y x)) z)

series187.0ms

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

simplify498.0ms

Counts
66 → 66
Iterations

Useful iterations: 2 (170.0ms)

IterNodesCost
0137707
1344670
21299570
done5000570

prune142.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite42.0ms

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

series167.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(+ (exp x) (exp (- x)))
51.0ms
(* (+ (exp x) (exp (- x))) y)
90.0ms
(/ (* (+ (exp x) (exp (- x))) y) (* z (* 2 x)))

simplify735.0ms

Counts
69 → 69
Iterations

Useful iterations: done (733.0ms)

IterNodesCost
01391096
14211038
22019809
done5001801

prune163.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
32×add-exp-log add-cbrt-cube
16×*-un-lft-identity times-frac
14×add-sqr-sqrt
12×cbrt-undiv add-cube-cbrt div-exp
associate-/l*
prod-exp cbrt-unprod
pow1 add-log-exp
associate-*l* associate-*l/ associate-/r* div-inv
flip3-+ associate-*r* flip-+ associate-/l/
frac-2neg clear-num distribute-lft-out
+-commutative pow-prod-down sum-log *-commutative unswap-sqr
Counts
4 → 94
Calls
4 calls:
8.0ms
(/ (* (+ (exp x) (exp (- x))) y) z)
8.0ms
(+ (exp x) (exp (- x)))
20.0ms
(* (+ (exp x) (exp (- x))) y)
11.0ms
(/ (/ (* (+ (exp x) (exp (- x))) y) z) (* 2 x))

series232.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(/ (* (+ (exp x) (exp (- x))) y) z)
27.0ms
(+ (exp x) (exp (- x)))
51.0ms
(* (+ (exp x) (exp (- x))) y)
93.0ms
(/ (/ (* (+ (exp x) (exp (- x))) y) z) (* 2 x))

simplify735.0ms

Counts
106 → 106
Iterations

Useful iterations: done (732.0ms)

IterNodesCost
01821628
14911553
218891263
done50001257

prune257.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite88.0ms

Algorithm
rewrite-expression-head
Rules
149×times-frac
99×add-sqr-sqrt
90×*-un-lft-identity
85×add-cube-cbrt
75×add-exp-log
47×add-cbrt-cube
46×associate-*r*
34×div-exp
21×prod-exp
18×cbrt-undiv
13×cbrt-unprod associate-/l*
11×associate-*l*
10×div-inv
pow1
add-log-exp
unswap-sqr
rec-exp 1-exp
associate-*l/ associate-/r*
flip3-+ pow-prod-down *-commutative flip-+ distribute-lft-out
+-commutative frac-times frac-2neg associate-*r/ clear-num sum-log associate-/l/
Counts
4 → 195
Calls
4 calls:
5.0ms
(+ (exp x) (exp (- x)))
20.0ms
(* (+ (exp x) (exp (- x))) y)
6.0ms
(/ (/ 1 z) x)
48.0ms
(* (/ (* (+ (exp x) (exp (- x))) y) 2) (/ (/ 1 z) x))

series188.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(+ (exp x) (exp (- x)))
58.0ms
(* (+ (exp x) (exp (- x))) y)
10.0ms
(/ (/ 1 z) x)
97.0ms
(* (/ (* (+ (exp x) (exp (- x))) y) 2) (/ (/ 1 z) x))

simplify1.2s

Counts
207 → 207
Iterations

Useful iterations: done (1.2s)

IterNodesCost
03293419
19833012
230542578
done50002554

prune449.0ms

Pruning

6 alts after pruning (2 fresh and 4 done)

Merged error: 0b

regimes198.0ms

Accuracy

96.3% (0.2b remaining)

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

bsearch1.0ms

simplify2.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
02258
12945
done2945

end0.0ms

sample1.1s

Algorithm
intervals
Results
600.0ms22339×body80valid