Details

Time bar (total: 25.6s)

sample50.0ms

Algorithm
intervals
Results
24.0ms257×body80valid
2.0msbody640valid
1.0msbody320valid

simplify3.2s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
012354
154354
2142354
3322354
4959354
54647354
done5001354

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.3b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
0.0b
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
0.1b
(- (tanh (/ t y)) (tanh (/ x y)))
3.2b
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
18×frac-sub
13×tanh-def
11×associate-*r/
add-sqr-sqrt pow1 *-un-lft-identity add-cbrt-cube add-exp-log
add-log-exp
sub-neg associate-*r* add-cube-cbrt
distribute-rgt-in associate-+r+ distribute-lft-in
pow-prod-down prod-exp cbrt-unprod
flip3-- flip-- distribute-lft-out-- difference-of-squares
+-commutative sum-log flip3-+ diff-log associate-*l* *-commutative flip-+
Counts
4 → 83
Calls
4 calls:
1.0ms
(tanh (/ t y))
6.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
17.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
61.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series1.2s

Counts
4 → 12
Calls
4 calls:
138.0ms
(tanh (/ t y))
480.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
344.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
272.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify3.1s

Counts
95 → 95
Iterations

Useful iterations: done (3.1s)

IterNodesCost
018643982
159141038
2304840384
done500039995

prune685.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.6b

localize33.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ x y))
0.1b
(- (tanh (/ t y)) (tanh (/ x y)))
0.6b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
4.0b
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

rewrite141.0ms

Algorithm
rewrite-expression-head
Rules
33×associate-*r/
27×frac-sub
19×tanh-def
13×add-sqr-sqrt
11×pow1 *-un-lft-identity add-cbrt-cube add-exp-log
10×distribute-rgt-in distribute-lft-in
sub-neg add-cube-cbrt
associate-*r* associate-*l* add-log-exp
pow-prod-down prod-exp cbrt-unprod
flip3-- flip--
*-commutative distribute-lft-out-- difference-of-squares
diff-log unswap-sqr
Counts
4 → 105
Calls
4 calls:
1.0ms
(tanh (/ x y))
15.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
42.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
79.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series1.0s

Counts
4 → 12
Calls
4 calls:
113.0ms
(tanh (/ x y))
343.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
335.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
258.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify2.4s

Counts
117 → 117
Iterations

Useful iterations: done (2.4s)

IterNodesCost
019552079
157749779
2230149235
done500048512

prune867.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.3b

localize65.0ms

Local error

Found 4 expressions with local error:

3.2b
(* (* y z) (- (* (* (cbrt (tanh (/ t y))) (cbrt (tanh (/ t y)))) (cbrt (tanh (/ t y)))) (tanh (/ x y))))
5.6b
(cbrt (tanh (/ t y)))
5.6b
(cbrt (tanh (/ t y)))
5.6b
(cbrt (tanh (/ t y)))

rewrite405.0ms

Algorithm
rewrite-expression-head
Rules
441×cbrt-div
243×frac-times
236×associate-*r/
210×tanh-def
189×frac-sub
81×associate-*l/
cbrt-prod pow1 add-cbrt-cube add-exp-log
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
add-log-exp
pow1/3 associate-*r* pow-prod-down prod-exp cbrt-unprod
distribute-rgt-in sub-neg distribute-lft-in
flip3-- associate-*l* *-commutative flip--
Counts
4 → 255
Calls
4 calls:
356.0ms
(* (* y z) (- (* (* (cbrt (tanh (/ t y))) (cbrt (tanh (/ t y)))) (cbrt (tanh (/ t y)))) (tanh (/ x y))))
4.0ms
(cbrt (tanh (/ t y)))
4.0ms
(cbrt (tanh (/ t y)))
4.0ms
(cbrt (tanh (/ t y)))

series1.0s

Counts
4 → 12
Calls
4 calls:
216.0ms
(* (* y z) (- (* (* (cbrt (tanh (/ t y))) (cbrt (tanh (/ t y)))) (cbrt (tanh (/ t y)))) (tanh (/ x y))))
260.0ms
(cbrt (tanh (/ t y)))
239.0ms
(cbrt (tanh (/ t y)))
296.0ms
(cbrt (tanh (/ t y)))

simplify4.1s

Counts
267 → 267
Iterations

Useful iterations: done (4.0s)

IterNodesCost
0932291695
13693288774
done5000283474

prune3.3s

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.3b

localize16.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ x (* y (/ (* t z) y)))
5.5b
(/ (* t z) y)
10.8b
(* y (/ (* t z) y))

rewrite40.0ms

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

series106.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(+ x (* y (/ (* t z) y)))
38.0ms
(/ (* t z) y)
28.0ms
(* y (/ (* t z) y))

simplify1.5s

Counts
68 → 68
Iterations

Useful iterations: done (1.5s)

IterNodesCost
09512352
126911327
2144211087
done500110767

prune367.0ms

Pruning

7 alts after pruning (3 fresh and 4 done)

Merged error: 0.3b

regimes560.0ms

Accuracy

1.6% (1.5b remaining)

Error of 1.9b against oracle of 0.4b and baseline of 1.9b

bsearch2.0ms

simplify6.0ms

Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
023816
130816
done30816

end0.0ms

sample1.3s

Algorithm
intervals
Results
818.0ms8352×body80valid
69.0ms100×body640valid
14.0ms64×body320valid
12.0ms29×body1280valid
6.0ms39×body160valid