Details

Time bar (total: 20.9s)

sample52.0ms

Algorithm
intervals
Results
19.0ms257×body80valid
2.0msbody640valid
1.0msbody320valid

simplify2.0s

Counts
1 → 1
Iterations
IterNodes
done5001
54647
4959
3322
2142
154
012

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.3b

localize35.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))))

rewrite103.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:
2.0ms
(tanh (/ t y))
9.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
16.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
72.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series1.1s

Counts
4 → 12
Calls
4 calls:
101.0ms
(tanh (/ t y))
407.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
337.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
254.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify2.3s

Counts
95 → 95
Iterations
IterNodes
done5000
23048
1591
0186

prune637.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.6b

localize25.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)))))

rewrite134.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:
3.0ms
(tanh (/ x y))
22.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
36.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
68.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series998.0ms

Counts
4 → 12
Calls
4 calls:
127.0ms
(tanh (/ x y))
318.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
316.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
238.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify1.6s

Counts
117 → 117
Iterations
IterNodes
done5000
22301
1577
0195

prune819.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.3b

localize64.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)))

rewrite413.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:
365.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)))

series984.0ms

Counts
4 → 12
Calls
4 calls:
274.0ms
(* (* y z) (- (* (* (cbrt (tanh (/ t y))) (cbrt (tanh (/ t y)))) (cbrt (tanh (/ t y)))) (tanh (/ x y))))
262.0ms
(cbrt (tanh (/ t y)))
225.0ms
(cbrt (tanh (/ t y)))
223.0ms
(cbrt (tanh (/ t y)))

simplify2.1s

Counts
267 → 267
Iterations
IterNodes
done5000
13693
0932

prune3.6s

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.3b

localize13.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))

rewrite45.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:
9.0ms
(+ x (* y (/ (* t z) y)))
18.0ms
(/ (* t z) y)
14.0ms
(* y (/ (* t z) y))

series96.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(+ x (* y (/ (* t z) y)))
29.0ms
(/ (* t z) y)
30.0ms
(* y (/ (* t z) y))

simplify1.0s

Counts
68 → 68
Iterations
IterNodes
done5001
21442
1269
095

prune419.0ms

Pruning

7 alts after pruning (3 fresh and 4 done)

Merged error: 0.3b

regimes537.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
IterNodes
done30
130
023

end0.0ms

sample1.8s

Algorithm
intervals
Results
1.2s8352×body80valid
29.0ms100×body640valid
13.0ms64×body320valid
10.0ms29×body1280valid
5.0ms39×body160valid