Details

Time bar (total: 15.1s)

sample183.0ms

Algorithm
intervals
Results
99.0ms126×body1280valid
27.0ms60×body640valid
15.0ms23×body320valid
12.0ms256×pre80true
3.0ms37×body80valid
2.0ms10×body160valid

simplify73.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
099
1159
2229
3319
4379
5479
6549
7669
8899
91039
101099
done1099

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.7b

localize12.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.1b
(- (tan (+ y z)) (tan a))
3.8b
(tan (+ y z))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
19×add-sqr-sqrt
18×prod-diff
17×add-cube-cbrt
11×associate-+r+
10×add-log-exp
tan-quot
pow1 add-exp-log expm1-log1p-u fma-def fma-neg add-cbrt-cube log1p-expm1-u
sub-neg tan-sum diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 72
Calls
3 calls:
9.0ms
(+ x (- (tan (+ y z)) (tan a)))
8.0ms
(- (tan (+ y z)) (tan a))
4.0ms
(tan (+ y z))

series323.0ms

Counts
3 → 9
Calls
3 calls:
135.0ms
(+ x (- (tan (+ y z)) (tan a)))
128.0ms
(- (tan (+ y z)) (tan a))
60.0ms
(tan (+ y z))

simplify1.2s

Counts
81 → 81
Iterations

Useful iterations: done (1.2s)

IterNodesCost
01281195
12741008
2644882
32328793
done5001792

prune262.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan y) (tan z))
0.1b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
0.1b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.2b
(* (tan y) (tan z))

rewrite156.0ms

Algorithm
rewrite-expression-head
Rules
151×*-un-lft-identity
108×prod-diff
107×add-sqr-sqrt
100×add-cube-cbrt
85×times-frac
56×associate-+r+
24×distribute-lft-out
18×fma-neg
14×associate-/r/
13×add-log-exp
flip3-- flip--
tan-quot div-inv
pow1 add-exp-log fma-def add-cbrt-cube
expm1-log1p-u log1p-expm1-u
associate-*r* associate-*l* sum-log
+-commutative sub-neg flip3-+ diff-log flip-+ distribute-lft-out-- difference-of-squares
frac-times associate-+r- associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp *-commutative frac-sub cbrt-unprod unswap-sqr
Counts
4 → 207
Calls
4 calls:
3.0ms
(+ (tan y) (tan z))
83.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
53.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))

series1.0s

Counts
4 → 12
Calls
4 calls:
101.0ms
(+ (tan y) (tan z))
389.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
424.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
103.0ms
(* (tan y) (tan z))

simplify747.0ms

Counts
219 → 219
Iterations

Useful iterations: done (738.0ms)

IterNodesCost
02966641
16565549
217035029
done50005006

prune761.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan y) (tan z))
0.1b
(+ x (fma (+ (tan y) (tan z)) (/ 1 (- 1 (* (tan y) (tan z)))) (- (tan a))))
0.2b
(fma (+ (tan y) (tan z)) (/ 1 (- 1 (* (tan y) (tan z)))) (- (tan a)))
0.2b
(* (tan y) (tan z))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
10×add-sqr-sqrt
add-cube-cbrt add-log-exp
tan-quot pow1 add-exp-log fma-def add-cbrt-cube
expm1-log1p-u log1p-expm1-u
associate-*r* associate-*l*
+-commutative flip3-+ sum-log flip-+ fma-udef distribute-lft-out
frac-times associate-+r+ associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 69
Calls
4 calls:
6.0ms
(+ (tan y) (tan z))
3.0ms
(+ x (fma (+ (tan y) (tan z)) (/ 1 (- 1 (* (tan y) (tan z)))) (- (tan a))))
0.0ms
(fma (+ (tan y) (tan z)) (/ 1 (- 1 (* (tan y) (tan z)))) (- (tan a)))
5.0ms
(* (tan y) (tan z))

series886.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(+ (tan y) (tan z))
318.0ms
(+ x (fma (+ (tan y) (tan z)) (/ 1 (- 1 (* (tan y) (tan z)))) (- (tan a))))
361.0ms
(fma (+ (tan y) (tan z)) (/ 1 (- 1 (* (tan y) (tan z)))) (- (tan a)))
104.0ms
(* (tan y) (tan z))

simplify1.0s

Counts
81 → 81
Iterations

Useful iterations: done (1.0s)

IterNodesCost
01371281
13191204
28151082
323121080
done50011079

prune384.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize35.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (tan a))
0.6b
(cbrt (tan a))
0.6b
(cbrt (tan a))
60.7b
(fma (- (cbrt (tan a))) (* (cbrt (tan a)) (cbrt (tan a))) (* (cbrt (tan a)) (* (cbrt (tan a)) (cbrt (tan a)))))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
tan-quot cbrt-div pow1/3
fma-udef
Counts
4 → 52
Calls
4 calls:
1.0ms
(cbrt (tan a))
1.0ms
(cbrt (tan a))
1.0ms
(cbrt (tan a))
1.0ms
(fma (- (cbrt (tan a))) (* (cbrt (tan a)) (cbrt (tan a))) (* (cbrt (tan a)) (* (cbrt (tan a)) (cbrt (tan a)))))

series619.0ms

Counts
4 → 12
Calls
4 calls:
134.0ms
(cbrt (tan a))
133.0ms
(cbrt (tan a))
142.0ms
(cbrt (tan a))
210.0ms
(fma (- (cbrt (tan a))) (* (cbrt (tan a)) (cbrt (tan a))) (* (cbrt (tan a)) (* (cbrt (tan a)) (cbrt (tan a)))))

simplify1.2s

Counts
64 → 64
Iterations

Useful iterations: 4 (442.0ms)

IterNodesCost
055644
1107463
2216367
3597357
42164307
done5000307

prune651.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

regimes275.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02558
13258
done3258

end0.0ms

sample5.2s

Algorithm
intervals
Results
3.2s3961×body1280valid
912.0ms1922×body640valid
370.0ms8000×pre80true
217.0ms682×body320valid
114.0ms1154×body80valid
59.0ms281×body160valid