Details

Time bar (total: 12.9s)

sample3.5s

Algorithm
intervals
Results
47.0ms111×body1280valid
18.0ms74×body640valid
18.0ms256×pre80true
3.0ms19×body320valid
2.0ms17×body160valid
2.0ms35×body80valid

simplify357.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1225
2335
3395
4505
5705
6995
71245
81665
92595
102605
112605

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 12.6b

Counts
2 → 1

localize13.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
3.7b
(tan (+ y z))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg tan-sum associate-+r+ diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 42
Calls
3 calls:
14.0ms
(+ x (- (tan (+ y z)) (tan a)))
6.0ms
(- (tan (+ y z)) (tan a))
6.0ms
(tan (+ y z))

series103.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(+ x (- (tan (+ y z)) (tan a)))
33.0ms
(- (tan (+ y z)) (tan a))
26.0ms
(tan (+ y z))

simplify38.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune106.0ms

Filtered
39 candidates to 51 candidates (-30.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New411051
Fresh000
Picked101
Done000
Total421052

Merged error: 0.1b

Counts
52 → 10

localize15.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.2b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.2b
(* (tan y) (tan z))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
13×add-sqr-sqrt add-log-exp
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* associate-*l* sum-log distribute-lft-out
+-commutative sub-neg associate-+r+ flip3-+ diff-log flip-+ distribute-lft-out-- difference-of-squares
frac-times associate-+r- flip3-- times-frac associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp *-commutative frac-sub flip-- cbrt-unprod unswap-sqr
Counts
4 → 67
Calls
4 calls:
4.0ms
(+ (tan y) (tan z))
12.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
11.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))

series284.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(+ (tan y) (tan z))
124.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
118.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
21.0ms
(* (tan y) (tan z))

simplify73.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0367860
11074821
23057814
35001814

prune137.0ms

Filtered
59 candidates to 79 candidates (-33.9%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New71879
Fresh729
Picked101
Done000
Total791089

Merged error: 0.0b

Counts
89 → 10

localize28.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (cos y) (sin z))
0.2b
(- (/ (/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (cos y) (cos z))) (- 1 (* (tan y) (tan z)))) (tan a))
0.2b
(* (tan y) (tan z))
0.3b
(/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (cos y) (cos z)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
13×add-exp-log add-cbrt-cube
12×*-un-lft-identity
10×add-cube-cbrt
pow1
associate-*r* associate-*l* add-log-exp
tan-quot
times-frac
prod-exp cbrt-unprod associate-/l*
cbrt-undiv div-exp pow-prod-down *-commutative associate-/l/ difference-of-squares unswap-sqr
frac-times sub-neg flip3-- frac-2neg flip3-+ diff-log associate-*r/ associate-*l/ clear-num associate-/r* associate-/r/ cos-mult frac-sub flip-- flip-+ div-inv distribute-lft-out--
Counts
4 → 79
Calls
4 calls:
4.0ms
(* (cos y) (sin z))
19.0ms
(- (/ (/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (cos y) (cos z))) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))
9.0ms
(/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (cos y) (cos z)))

series180.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(* (cos y) (sin z))
119.0ms
(- (/ (/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (cos y) (cos z))) (- 1 (* (tan y) (tan z)))) (tan a))
21.0ms
(* (tan y) (tan z))
31.0ms
(/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (cos y) (cos z)))

simplify52.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04751176
118261041
250011026

prune130.0ms

Filtered
68 candidates to 91 candidates (-33.8%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New91091
Fresh099
Picked011
Done000
Total9110101

Merged error: 0.0b

Counts
101 → 10

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ (tan y) (tan z)) (cos a))
0.2b
(* (tan y) (tan z))
0.2b
(* (tan y) (tan z))
0.2b
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
19×associate-*l/
18×add-sqr-sqrt
15×add-exp-log add-cbrt-cube
14×tan-quot *-un-lft-identity
12×add-cube-cbrt
10×pow1 associate-*l*
associate-*r*
associate-/l/
frac-sub
flip3-- flip--
prod-exp cbrt-unprod add-log-exp
flip3-+ times-frac pow-prod-down frac-add *-commutative flip-+ associate-/l* unswap-sqr
cbrt-undiv frac-times associate-*r/ div-exp associate-/r/
frac-2neg div-sub clear-num associate-/r* div-inv distribute-lft-out
Counts
4 → 96
Calls
4 calls:
7.0ms
(* (+ (tan y) (tan z)) (cos a))
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))
16.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

series222.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(* (+ (tan y) (tan z)) (cos a))
22.0ms
(* (tan y) (tan z))
23.0ms
(* (tan y) (tan z))
143.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

simplify70.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
05871304
127011144
250031128

prune118.0ms

Filtered
83 candidates to 108 candidates (-30.1%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1080108
Fresh088
Picked011
Done011
Total10810118

Merged error: 0.0b

Counts
118 → 10

regimes833.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03019
13019

end0.0ms

sample6.5s

Algorithm
intervals
Results
1.7s3987×body1280valid
534.0ms8000×pre80true
489.0ms1987×body640valid
118.0ms667×body320valid
56.0ms1073×body80valid
38.0ms286×body160valid

Profiling

Loading profile data...